Use Literal and __all__ in binhex (#6845)

This commit is contained in:
Nikita Sobolev
2022-01-09 20:34:44 +03:00
committed by GitHub
parent 34426dbc20
commit bb6a6e3421

View File

@@ -1,10 +1,13 @@
from typing import IO, Any, Union
from typing_extensions import Literal
__all__ = ["binhex", "hexbin", "Error"]
class Error(Exception): ...
REASONABLY_LARGE: int
LINELEN: int
RUNCHAR: bytes
REASONABLY_LARGE: Literal[32768]
LINELEN: Literal[64]
RUNCHAR: Literal[b"\x90"]
class FInfo:
def __init__(self) -> None: ...