mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-22 01:28:29 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
from abc import abstractmethod
|
||||
import asyncore
|
||||
import socket
|
||||
import sys
|
||||
from abc import abstractmethod
|
||||
from typing import Optional, Sequence, Tuple, Union
|
||||
|
||||
|
||||
class simple_producer:
|
||||
def __init__(self, data: bytes, buffer_size: int = ...) -> None: ...
|
||||
def more(self) -> bytes: ...
|
||||
@@ -13,7 +12,6 @@ class async_chat(asyncore.dispatcher):
|
||||
ac_in_buffer_size: int
|
||||
ac_out_buffer_size: int
|
||||
def __init__(self, sock: Optional[socket.socket] = ..., map: Optional[asyncore._maptype] = ...) -> None: ...
|
||||
|
||||
@abstractmethod
|
||||
def collect_incoming_data(self, data: bytes) -> None: ...
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user