diff --git a/stubs/zmq/__init__.pyi b/stubs/zmq/__init__.pyi deleted file mode 100644 index e9ac75ed..00000000 --- a/stubs/zmq/__init__.pyi +++ /dev/null @@ -1,33 +0,0 @@ -from typing import Iterable, Optional, Union - -bytes_t = bytes - -class Frame: - def __init__(self, data: Optional[Union[memoryview, bytes]] = None) -> None: - pass - bytes: bytes_t - buffer: memoryview - -class Socket: - def __init__(self, *args, **kwargs) -> None: ... - def send_multipart(self, msg_parts: Iterable[Union[memoryview, bytes, Frame]], copy: Optional[bool] = None): ... - def recv_multipart(self, flags: int = 0, copy: bool = True, track: bool = False): ... - def bind(self, addr: str) -> None: ... - def setsockopt(self, option: int, val: Union[int, bytes]) -> None: ... - -class Context: - def socket(self, socket_type: int, **kwargs) -> Socket: ... - @classmethod - def instance(cls) -> "Context": ... - -class Poller: - pass - -POLLIN: int -POLLOUT: int - -LINGER: int - -REP: int -REQ: int -PAIR: int diff --git a/stubs/zmq/utils/__init__.pyi b/stubs/zmq/utils/__init__.pyi deleted file mode 100644 index e69de29b..00000000 diff --git a/stubs/zmq/utils/jsonapi.pyi b/stubs/zmq/utils/jsonapi.pyi deleted file mode 100644 index 02b79c2d..00000000 --- a/stubs/zmq/utils/jsonapi.pyi +++ /dev/null @@ -1,4 +0,0 @@ -from typing import Any - -def loads(s: bytes, **kwargs) -> Any: ... -def dumps(o: Any, **kwargs) -> bytes: ...