mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
typeshed: remove crufty comments (#4699)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
# Stubs for types
|
||||
# Note, all classes "defined" here require special handling.
|
||||
|
||||
# TODO parts of this should be conditional on version
|
||||
|
||||
import sys
|
||||
from typing import (
|
||||
Any,
|
||||
@@ -25,6 +20,8 @@ from typing import (
|
||||
# reasons exists in its own stub file (with ModuleSpec and Loader).
|
||||
from _importlib_modulespec import ModuleType as ModuleType # Exported
|
||||
|
||||
# Note, all classes "defined" here require special handling.
|
||||
|
||||
_T = TypeVar("_T")
|
||||
_T_co = TypeVar("_T_co", covariant=True)
|
||||
_T_contra = TypeVar("_T_contra", contravariant=True)
|
||||
|
||||
Reference in New Issue
Block a user