diff options
| author | 谭九鼎 <109224573@qq.com> | 2022-01-26 16:58:29 +0800 |
|---|---|---|
| committer | 谭九鼎 <109224573@qq.com> | 2022-01-26 16:58:29 +0800 |
| commit | a7c6d64f76091d1cfd8297ba813fe4e901d00ce4 (patch) | |
| tree | 71bd1a41b85ce19a9ed7554825a576b4fb6de6d1 /setuptools/__init__.py | |
| parent | 1a1397a4ef0327ba09ddd4a3d0916af48d3be7ec (diff) | |
| download | python-setuptools-git-a7c6d64f76091d1cfd8297ba813fe4e901d00ce4.tar.gz | |
Use super()
Diffstat (limited to 'setuptools/__init__.py')
| -rw-r--r-- | setuptools/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py index 43d1c96e..06991b65 100644 --- a/setuptools/__init__.py +++ b/setuptools/__init__.py @@ -132,7 +132,7 @@ def _install_setup_requires(attrs): def __init__(self, attrs): _incl = 'dependency_links', 'setup_requires' filtered = {k: attrs[k] for k in set(_incl) & set(attrs)} - distutils.core.Distribution.__init__(self, filtered) + super().__init__(filtered) def finalize_options(self): """ @@ -171,7 +171,7 @@ class Command(_Command): Construct the command for dist, updating vars(self) with any keyword parameters. """ - _Command.__init__(self, dist) + super().__init__(dist) vars(self).update(kw) def _ensure_stringlike(self, option, what, default=None): |
