title: Call built-in function if overwritten by a variable of the same name
body: <p>I have a variable <code>type</code>and I want to use builtin <code>type()</code> function</p>
  
  <p>Example </p>
  
  <pre><code>def fun(inv):
     log.debug('type of inv {}'.format(type(inv)))
     type = 'int'
  </code></pre>
  
  <p>I get the following error when i run the function:</p>
  
  <pre><code>AttributeError: 'module' object has no attribute 'type'
  </code></pre>