mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
clean python 3 specific stuff from stdlib/@python2 stubs (#5451)
This commit is contained in:
@@ -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