mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
Fix zipfile getinfo return type (#678)
This commit is contained in:
committed by
Guido van Rossum
parent
3f03849b70
commit
9fa6c994a3
@@ -27,7 +27,7 @@ class ZipFile:
|
||||
exc_val: Optional[Exception],
|
||||
exc_tb: Optional[TracebackType]) -> bool: ...
|
||||
def close(self) -> None: ...
|
||||
def getinfo(self, name: str) -> None: ...
|
||||
def getinfo(self, name: str) -> ZipInfo: ...
|
||||
def infolist(self) -> List[ZipInfo]: ...
|
||||
def namelist(self) -> List[str]: ...
|
||||
def open(self, name: _SZI, mode: str = ...,
|
||||
|
||||
Reference in New Issue
Block a user