mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 16:14:24 +08:00
Add Text to typing.pyi; it's an alias for unicode in 2.7, for str in 3.
This commit is contained in:
@@ -181,6 +181,8 @@ class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):
|
||||
def update(self, m: Union[Mapping[_KT, _VT],
|
||||
Iterable[Tuple[_KT, _VT]]]) -> None: ...
|
||||
|
||||
Text = unicode
|
||||
|
||||
class IO(Iterable[AnyStr], Generic[AnyStr]):
|
||||
# TODO detach
|
||||
# TODO use abstract properties
|
||||
|
||||
Reference in New Issue
Block a user