mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
Never explicitly inherit from object in Python 3-only stubs (#6777)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user