mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
7
stdlib/2.7/distutils/__init__.pyi
Normal file
7
stdlib/2.7/distutils/__init__.pyi
Normal file
@@ -0,0 +1,7 @@
|
||||
# Stubs for distutils (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any
|
||||
|
||||
__revision__ = ... # type: Any
|
||||
23
stdlib/2.7/distutils/version.pyi
Normal file
23
stdlib/2.7/distutils/version.pyi
Normal file
@@ -0,0 +1,23 @@
|
||||
# Stubs for distutils.version (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any
|
||||
|
||||
class Version:
|
||||
def __init__(self, vstring=None): ...
|
||||
|
||||
class StrictVersion(Version):
|
||||
version_re = ... # type: Any
|
||||
version = ... # type: Any
|
||||
prerelease = ... # type: Any
|
||||
def parse(self, vstring): ...
|
||||
def __cmp__(self, other): ...
|
||||
|
||||
class LooseVersion(Version):
|
||||
component_re = ... # type: Any
|
||||
def __init__(self, vstring=None): ...
|
||||
vstring = ... # type: Any
|
||||
version = ... # type: Any
|
||||
def parse(self, vstring): ...
|
||||
def __cmp__(self, other): ...
|
||||
Reference in New Issue
Block a user