Never explicitly inherit from object in Python 3-only stubs (#6777)

This commit is contained in:
Alex Waygood
2022-01-02 07:24:48 +01:00
committed by GitHub
parent d43cd997a4
commit 505ea72641
35 changed files with 79 additions and 67 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ if sys.version_info >= (3, 7):
class ZipImportError(ImportError): ...
class zipimporter(object):
class zipimporter:
archive: str
prefix: str
def __init__(self, path: str | bytes | os.PathLike[Any]) -> None: ...