mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Use PEP 688 (#10225)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from _typeshed import _BufferWithLen
|
||||
from _typeshed import SizedBuffer
|
||||
from typing import IO, Any
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
|
||||
@@ -28,9 +28,9 @@ class openrsrc:
|
||||
|
||||
class BinHex:
|
||||
def __init__(self, name_finfo_dlen_rlen: _FileInfoTuple, ofp: _FileHandleUnion) -> None: ...
|
||||
def write(self, data: _BufferWithLen) -> None: ...
|
||||
def write(self, data: SizedBuffer) -> None: ...
|
||||
def close_data(self) -> None: ...
|
||||
def write_rsrc(self, data: _BufferWithLen) -> None: ...
|
||||
def write_rsrc(self, data: SizedBuffer) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
|
||||
def binhex(inp: str, out: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user