cpython: 88cee7d16ccb (original) (raw)

Mercurial > cpython

changeset 99434:88cee7d16ccb 3.5

Issue #23936: Clarify what finders are. Thanks to Raúl Cumplido for the bug report and Thomas Kluyver for the patch. [#23936]

Brett Cannon brett@python.org
date Fri, 04 Dec 2015 15:46:21 -0800
parents 567baf74ebad
children 1b1900d2a537 ae27ad306dbf
files Doc/glossary.rst Doc/library/sys.rst
diffstat 2 files changed, 39 insertions(+), 16 deletions(-)[+] [-] Doc/glossary.rst 22 Doc/library/sys.rst 33

line wrap: on

line diff

--- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -308,10 +308,14 @@ Glossary A synonym for :term:file object. finder

+

+

floor division Mathematical division that rounds down to nearest integer. The floor @@ -593,10 +597,13 @@ Glossary :class:collections.OrderedDict and :class:collections.Counter. meta path finder

+ metaclass The class of a class. Class definitions create a class name, a class dictionary, and a list of base classes. The metaclass is responsible for @@ -630,7 +637,7 @@ Glossary module spec A namespace containing the import-related information used to load a

MRO See :term:method resolution order. @@ -757,6 +764,9 @@ Glossary (i.e. a :term:path entry hook) which knows how to locate modules given a :term:path entry.

+ path entry hook A callable on the :data:sys.path_hook list which returns a :term:path[](#l1.54) entry finder if it knows how to find modules on a specific :term:`path

--- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -774,19 +774,32 @@ always available. .. data:: meta_path

+

.. data:: modules