mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
distutils: make Command classes non-abstract (#1488)
This commit is contained in:
committed by
Łukasz Langa
parent
ac651d2f8c
commit
74966bacd9
@@ -1,5 +1,6 @@
|
||||
# Stubs for distutils.command.bdist_msi
|
||||
|
||||
from distutils.cmd import Command
|
||||
|
||||
class bdist_msi(Command): ...
|
||||
class bdist_msi(Command):
|
||||
def initialize_options(self) -> None: ...
|
||||
def finalize_options(self) -> None: ...
|
||||
def run(self) -> None: ...
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
# Stubs for distutils.command.bdist_msi
|
||||
|
||||
from distutils.cmd import Command
|
||||
import sys
|
||||
|
||||
if sys.version_info >= (3,):
|
||||
class build_py(Command): ...
|
||||
class build_py_2to3(Command): ...
|
||||
class build_py(Command):
|
||||
def initialize_options(self) -> None: ...
|
||||
def finalize_options(self) -> None: ...
|
||||
def run(self) -> None: ...
|
||||
|
||||
class build_py_2to3(build_py): ...
|
||||
|
||||
Reference in New Issue
Block a user