mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
1 parent
4e62577002
commit
23604858a6
122 files changed
+1952
-3800
No files matched your search
+2
-5
@@ -12,6 +12,7 @@ from typing_extensions import Literal, Self
|
||||
__all__ = [
|
||||
"BlockingIOError",
|
||||
"open",
|
||||
"open_code",
|
||||
"IOBase",
|
||||
"RawIOBase",
|
||||
"FileIO",
|
||||
@@ -30,9 +31,6 @@ __all__ = [
|
||||
"SEEK_END",
|
||||
]
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
__all__ += ["open_code"]
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
__all__ += ["DEFAULT_BUFFER_SIZE", "IncrementalNewlineDecoder", "text_encoding"]
|
||||
|
||||
@@ -46,8 +44,7 @@ SEEK_END: Literal[2]
|
||||
|
||||
open = builtins.open
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
def open_code(path: str) -> IO[bytes]: ...
|
||||
def open_code(path: str) -> IO[bytes]: ...
|
||||
|
||||
BlockingIOError = builtins.BlockingIOError
|
||||
|
||||
|
||||
Reference in new issue
Block a user