Use PEP 570 syntax in comments (#11552)

This commit is contained in:
Shantanu
2024-03-09 15:06:25 -08:00
committed by GitHub
parent 470a13ab09
commit 2d146e7da2
3 changed files with 3 additions and 3 deletions

View File

@@ -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):