mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add TYPE_CHECKING = True
This commit is contained in:
@@ -187,6 +187,8 @@ class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):
|
||||
|
||||
Text = unicode
|
||||
|
||||
TYPE_CHECKING = True
|
||||
|
||||
class IO(Iterable[AnyStr], Generic[AnyStr]):
|
||||
# TODO detach
|
||||
# TODO use abstract properties
|
||||
|
||||
@@ -254,6 +254,8 @@ class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):
|
||||
|
||||
Text = str
|
||||
|
||||
TYPE_CHECKING = True
|
||||
|
||||
class IO(Iterable[AnyStr], Generic[AnyStr]):
|
||||
# TODO detach
|
||||
# TODO use abstract properties
|
||||
|
||||
Reference in New Issue
Block a user