mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-29 03:06:43 +08:00
Drop Python 3.8 branches (#13776)
This commit is contained in:
+1
-5
@@ -520,11 +520,7 @@ class TarFile:
|
||||
|
||||
open = TarFile.open
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
def is_tarfile(name: StrOrBytesPath | IO[bytes]) -> bool: ...
|
||||
|
||||
else:
|
||||
def is_tarfile(name: StrOrBytesPath) -> bool: ...
|
||||
def is_tarfile(name: StrOrBytesPath | IO[bytes]) -> bool: ...
|
||||
|
||||
class TarError(Exception): ...
|
||||
class ReadError(TarError): ...
|
||||
|
||||
Reference in New Issue
Block a user