Roundup Robot added the comment:
New changeset 59fe0ff02c90 by Georg Brandl in branch '2.7':
Closes #19071: self argument is not the module for module functions in 2.x.
https://hg.python.org/cpython/rev/59fe0ff02c90
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status:
Mark Lawrence added the comment:
At this stage is this something that we'd want to back port or fix in 2.7 or
would a doc change suffice?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19071
Changes by A. Jesse Jiryu Davis je...@emptysquare.net:
--
nosy: +emptysquare
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19071
___
___
New submission from Graham Dumpleton:
In the documentation for Python 2.X at:
http://docs.python.org/2/extending/extending.html#a-simple-example
it says:
The self argument points to the module object for module-level functions; for a
method it would point to the object instance.
In
Changes by Nick Coghlan ncogh...@gmail.com:
--
nosy: +loewis, ncoghlan, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19071
___
___