diff options
author | Ned Deily <nad@python.org> | 2016-12-06 23:53:16 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2016-12-06 23:53:16 (GMT) |
commit | d3f39d31c8fba14d3cfa56c4a6c19012ddd6e8d1 (patch) | |
tree | d13e75419c1a622eb38bed9a74c2da5322e65abd /Lib/pydoc_data | |
parent | 8bb38a79b83ce23f8459cdd8180bde6384eda7ce (diff) | |
download | cpython-d3f39d31c8fba14d3cfa56c4a6c19012ddd6e8d1.zip cpython-d3f39d31c8fba14d3cfa56c4a6c19012ddd6e8d1.tar.gz cpython-d3f39d31c8fba14d3cfa56c4a6c19012ddd6e8d1.tar.bz2 |
Update pydoc topics for 3.6.0rc1
Diffstat (limited to 'Lib/pydoc_data')
-rw-r--r-- | Lib/pydoc_data/topics.py | 41 |
1 files changed, 37 insertions, 4 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 36b4c8c..c7fac33 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Mon Nov 21 23:22:05 2016 +# Autogenerated by Sphinx on Tue Dec 6 18:51:51 2016 topics = {'assert': '\n' 'The "assert" statement\n' '**********************\n' @@ -8503,9 +8503,10 @@ topics = {'assert': '\n' 'defined at the\n' 'class scope. Class variables must be accessed through the ' 'first\n' - 'parameter of instance or class methods, and cannot be ' - 'accessed at all\n' - 'from static methods.\n' + 'parameter of instance or class methods, or through the ' + 'implicit\n' + 'lexically scoped "__class__" reference described in the next ' + 'section.\n' '\n' '\n' 'Creating the class object\n' @@ -8535,6 +8536,38 @@ topics = {'assert': '\n' 'passed to the\n' 'method.\n' '\n' + '**CPython implementation detail:** In CPython 3.6 and later, ' + 'the\n' + '"__class__" cell is passed to the metaclass as a ' + '"__classcell__" entry\n' + 'in the class namespace. If present, this must be propagated ' + 'up to the\n' + '"type.__new__" call in order for the class to be ' + 'initialised\n' + 'correctly. Failing to do so will result in a ' + '"DeprecationWarning" in\n' + 'Python 3.6, and a "RuntimeWarning" in the future.\n' + '\n' + 'When using the default metaclass "type", or any metaclass ' + 'that\n' + 'ultimately calls "type.__new__", the following additional\n' + 'customisation steps are invoked after creating the class ' + 'object:\n' + '\n' + '* first, "type.__new__" collects all of the descriptors in ' + 'the class\n' + ' namespace that define a "__set_name__()" method;\n' + '\n' + '* second, all of these "__set_name__" methods are called ' + 'with the\n' + ' class being defined and the assigned name of that ' + 'particular\n' + ' descriptor; and\n' + '\n' + '* finally, the "__init_subclass__()" hook is called on the ' + 'immediate\n' + ' parent of the new class in its method resolution order.\n' + '\n' 'After the class object is created, it is passed to the ' 'class\n' 'decorators included in the class definition (if any) and the ' |