mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Methods are always bound, and `__self__` can no longer be `NULL` (`method_new()` and `PyMethod_New()` both explicitly check for this). Moreover, once a bound method is bound, it *stays* bound and won't be re-bound to something else, so the section in the datamodel that talks about accessing an methods in a different descriptor-binding context doesn't apply any more in Python 3. |
||
|---|---|---|
| .. | ||
| compound_stmts.rst | ||
| datamodel.rst | ||
| executionmodel.rst | ||
| expressions.rst | ||
| grammar.rst | ||
| import.rst | ||
| index.rst | ||
| introduction.rst | ||
| lexical_analysis.rst | ||
| simple_stmts.rst | ||
| toplevel_components.rst | ||