mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-01 09:16:22 +08:00
clean python 3 specific stuff from stdlib/@python2 stubs (#5451)
This commit is contained in:
1 parent
f94d838814
commit
5ec4f06263
121 files changed
+1024
-4801
No files matched your search
@@ -29,11 +29,10 @@ class async_chat(asyncore.dispatcher):
|
||||
def initiate_send(self) -> None: ...
|
||||
def discard_buffers(self) -> None: ...
|
||||
|
||||
if sys.version_info < (3, 0):
|
||||
class fifo:
|
||||
def __init__(self, list: Sequence[Union[bytes, simple_producer]] = ...) -> None: ...
|
||||
def __len__(self) -> int: ...
|
||||
def is_empty(self) -> bool: ...
|
||||
def first(self) -> bytes: ...
|
||||
def push(self, data: Union[bytes, simple_producer]) -> None: ...
|
||||
def pop(self) -> Tuple[int, bytes]: ...
|
||||
class fifo:
|
||||
def __init__(self, list: Sequence[Union[bytes, simple_producer]] = ...) -> None: ...
|
||||
def __len__(self) -> int: ...
|
||||
def is_empty(self) -> bool: ...
|
||||
def first(self) -> bytes: ...
|
||||
def push(self, data: Union[bytes, simple_producer]) -> None: ...
|
||||
def pop(self) -> Tuple[int, bytes]: ...
|
||||
Reference in new issue
Block a user