summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-11-20 13:44:02 (GMT)
committerGitHub <noreply@github.com>2020-11-20 13:44:02 (GMT)
commit3be8e220ede7764a403b74eb2051aa703dde2626 (patch)
tree6e518107c32a37adf642f1ebf35a98eb1e191f30 /Python/compile.c
parenta6109ef68d421712ba368ef502c4789e8de113e0 (diff)
downloadcpython-3be8e220ede7764a403b74eb2051aa703dde2626.zip
cpython-3be8e220ede7764a403b74eb2051aa703dde2626.tar.gz
cpython-3be8e220ede7764a403b74eb2051aa703dde2626.tar.bz2
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 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions