why is self not passed to id()?
Fredrik Lundh
fredrik at pythonware.com
Thu Sep 4 16:42:28 EDT 2008
Ruediger wrote:
> Executing following little program gives me an TypeError.
>
> What makes me wonder is that foo does get an argument passed while bar
> doesn't. Can anyone explain why??????
>>> id
<built-in function id>
>>> lambda x: id(x)
<function <lambda> at 0x00C07C30>
any special reason why you're not using Python to write Python programs,
btw?
</F>
More information about the Python-list
mailing list