mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use Literal and __all__ in binhex (#6845)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user