diff options
author | Victor Stinner <vstinner@python.org> | 2020-11-20 14:44:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-20 14:44:02 +0100 |
commit | 3be8e220ede7764a403b74eb2051aa703dde2626 (patch) | |
tree | 6e518107c32a37adf642f1ebf35a98eb1e191f30 /Lib/ast.py | |
parent | a6109ef68d421712ba368ef502c4789e8de113e0 (diff) | |
download | cpython-git-3be8e220ede7764a403b74eb2051aa703dde2626.tar.gz |
bpo-42403: Use @staticmethod in importlib (GH-23395)
Use @staticmethod on methods using @classmethod but don't use their
cls parameter on the following classes:
* BuiltinImporter
* FrozenImporter
* WindowsRegistryFinder
* PathFinder
Leave methods using @_requires_builtin or @_requires_frozen unchanged,
since this decorator requires the wrapped method to have an extra parameter
(cls or self).
Diffstat (limited to 'Lib/ast.py')
0 files changed, 0 insertions, 0 deletions