Statements (17)
Predicate | Object |
---|---|
gptkbp:instanceOf |
Python Enhancement Proposal
|
gptkbp:allows |
PEP 562 proposes support for module-level __getattr__ and __dir__ functions.
modules to define __dir__ modules to define __getattr__ |
gptkbp:author |
Ivan Levkivskyi
|
gptkbp:created |
2017-07-10
|
gptkbp:discusses |
[email protected]
|
https://www.w3.org/2000/01/rdf-schema#label |
PEP 562
|
gptkbp:implementedIn |
gptkb:CPython
|
gptkbp:motive |
To improve support for lazy imports and module attribute customization.
|
gptkbp:pythonVersion |
3.7
|
gptkbp:resolution |
gptkb:Accepted
|
gptkbp:status |
Final
|
gptkbp:title |
Module __getattr__ and __dir__
|
gptkbp:url |
https://peps.python.org/pep-0562/
|
gptkbp:bfsParent |
gptkb:Python_3.7
|
gptkbp:bfsLayer |
7
|