mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 19:11:26 +08:00
Use Literal type in io and _compression (#6917)
This commit is contained in:
1 parent
f9c650d167
commit
74d043b9bb
2 files changed
+7
-6
No files matched your search
@@ -1,8 +1,8 @@
|
||||
from _typeshed import WriteableBuffer
|
||||
from io import BufferedIOBase, RawIOBase
|
||||
from io import DEFAULT_BUFFER_SIZE, BufferedIOBase, RawIOBase
|
||||
from typing import Any, Callable, Protocol
|
||||
|
||||
BUFFER_SIZE: Any
|
||||
BUFFER_SIZE = DEFAULT_BUFFER_SIZE
|
||||
|
||||
class _Reader(Protocol):
|
||||
def read(self, __n: int) -> bytes: ...
|
||||
|
||||
Reference in new issue
Block a user