homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SpecLad
Recipients SpecLad, docs@python
Date 2012年02月13日.19:05:33
SpamBayes Score 6.083184e-11
Marked as misclassified No
Message-id <1329159935.3.0.264942191971.issue14003@psf.upfronthosting.co.za>
In-reply-to
Content
The language reference says this in section 3.2:
 
~
Built-in functions
 
A built-in function object is a wrapper around a C function. Examples of built-in functions are len() and math.sin() <...> Special read-only attributes: <...> __self__ is set to None (but see the next item) <...>.
~
That is not the case:
ActivePython 3.2.2.3 (ActiveState Software Inc.) based on
Python 3.2.2 (default, Sep 8 2011, 10:55:13) [MSC v.1500 64 bit (AMD64)] 
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> len.__self__
<module 'builtins' (built-in)>
>>> open.__self__
<module 'io' (built-in)>
>>> import math
>>> math.sin.__self__
<module 'math' (built-in)>
History
Date User Action Args
2012年02月13日 19:05:35SpecLadsetrecipients: + SpecLad, docs@python
2012年02月13日 19:05:35SpecLadsetmessageid: <1329159935.3.0.264942191971.issue14003@psf.upfronthosting.co.za>
2012年02月13日 19:05:33SpecLadlinkissue14003 messages
2012年02月13日 19:05:33SpecLadcreate

AltStyle によって変換されたページ (->オリジナル) /