[docs] [issue10289] Document magic methods called by built-in functions
report at bugs.python.org
Mon Jul 7 19:16:51 CEST 2014
Andy Maier added the comment:
I reviewed the description of the built-in functions in Python 2.7, and found these issues:
1. The following built-in functions do not mention their underyling __special__ functions:
- delattr(), getattr(), hasattr(), setattr()
- complex(), int(), long(), float()
- int(), oct()
2. The following built-in functions list the __special__ functions they invoke as text that is not a hyperlink:
3. The following built-in functions could be improved from the description of the 3.x version:
- bool(): References and links from 3.x version could be added.
- bytearray(): References from last line of 3.x version could be added.
- callable(): Wording "if they have a..." could be improved by using 3.x wording.
4. The codepage of the ASCII string for chr() is not documented.
Python tracker <report at bugs.python.org>
More information about the docs