title: Python shortcut for variable default value to be another variable value if it is None
body: <p>I have the following function declaration:</p>
  
  <pre><code>def set_data(obj=None, name='delp', type=None):
  </code></pre>
  
  <p>Is there a python shortcut, where type is equal with 'name' value(default r passed) if is None ?</p>