On 23/07/2014 10:27 AM, Terry Reedy wrote:
When you call a function, Python binds function parameter names to
argument objects in the function's local namespace, the same as in name
assignments. Given

def f(a, b): pass

a call f(1, 'x') starts by executing

a, b = 1, 'x'

in the local namespace.  Nothing is being 'passed'.

The Dude: Look, nothing is passed, here, man.
The Big Lebowski: Nothing is passed? The god damn argument has crashed into the parameter!


...sorry, it's been a long week.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to