mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 03:21:25 +08:00
Use PEP 570 syntax in comments (#11552)
This commit is contained in:
1 parent
470a13ab09
commit
2d146e7da2
3 files changed
+3
-3
No files matched your search
@@ -44,7 +44,7 @@ class _ZipStream(Protocol):
|
||||
# The following methods are optional:
|
||||
# def seekable(self) -> bool: ...
|
||||
# def tell(self) -> int: ...
|
||||
# def seek(self, __n: int) -> object: ...
|
||||
# def seek(self, n: int, /) -> object: ...
|
||||
|
||||
# Stream shape as required by _EndRecData() and _EndRecData64().
|
||||
class _SupportsReadSeekTell(Protocol):
|
||||
|
||||
Reference in new issue
Block a user