mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
@@ -304,7 +304,7 @@ class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):
|
||||
|
||||
Text = unicode
|
||||
|
||||
TYPE_CHECKING: Literal[True]
|
||||
TYPE_CHECKING: bool
|
||||
|
||||
class IO(Iterator[AnyStr], Generic[AnyStr]):
|
||||
# TODO detach
|
||||
|
||||
@@ -502,7 +502,7 @@ class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):
|
||||
|
||||
Text = str
|
||||
|
||||
TYPE_CHECKING: _Literal[True]
|
||||
TYPE_CHECKING: bool
|
||||
|
||||
# In stubs, the arguments of the IO class are marked as positional-only.
|
||||
# This differs from runtime, but better reflects the fact that in reality
|
||||
|
||||
Reference in New Issue
Block a user