mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 10:21:14 +08:00
Use PEP 688 (#10225)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import io
|
||||
import sys
|
||||
from _typeshed import StrOrBytesPath, StrPath, _BufferWithLen
|
||||
from _typeshed import SizedBuffer, StrOrBytesPath, StrPath
|
||||
from collections.abc import Callable, Iterable, Iterator
|
||||
from os import PathLike
|
||||
from types import TracebackType
|
||||
@@ -179,7 +179,7 @@ class ZipFile:
|
||||
def writestr(
|
||||
self,
|
||||
zinfo_or_arcname: str | ZipInfo,
|
||||
data: _BufferWithLen | str,
|
||||
data: SizedBuffer | str,
|
||||
compress_type: int | None = None,
|
||||
compresslevel: int | None = None,
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user