fix some abstract classes in Python 2 (#2240)

Part of #1476.
This commit is contained in:
Jelle Zijlstra
2018-06-17 00:56:00 +01:00
committed by Ivan Levkivskyi
parent 7c3edba6ce
commit 0393de4bd7
5 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ class TextIO(IO[unicode]):
@abstractmethod
def __enter__(self) -> TextIO: ...
class ByteString(Sequence[int]): ...
class ByteString(Sequence[int], metaclass=ABCMeta): ...
class Match(Generic[AnyStr]):
pos = 0