why is self not passed to id()?
fredrik at pythonware.com
Thu Sep 4 22:42:28 CEST 2008
> 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??????
<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,
More information about the Python-list