mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-09 09:59:16 +08:00
[stdlib] Add more default values (#14632)
This commit is contained in:
+63
-63
@@ -106,7 +106,7 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -140,7 +140,7 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -174,7 +174,7 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -209,7 +209,7 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
# where the *real* keyword only args start
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -243,7 +243,7 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -277,7 +277,7 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -314,7 +314,7 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -347,7 +347,7 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -380,7 +380,7 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -414,7 +414,7 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
# where the *real* keyword only args start
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -447,7 +447,7 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -480,7 +480,7 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -516,7 +516,7 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -548,7 +548,7 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -580,7 +580,7 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -613,7 +613,7 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
# where the *real* keyword only args start
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -645,7 +645,7 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -677,7 +677,7 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
capture_output: bool = False,
|
||||
check: bool = False,
|
||||
@@ -712,7 +712,7 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
encoding: str | None = None,
|
||||
timeout: float | None = None,
|
||||
@@ -744,7 +744,7 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
encoding: str | None = None,
|
||||
timeout: float | None = None,
|
||||
@@ -774,7 +774,7 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
encoding: str | None = None,
|
||||
timeout: float | None = None,
|
||||
@@ -805,8 +805,8 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
timeout: float | None = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
timeout: float | None = None,
|
||||
*,
|
||||
encoding: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -837,8 +837,8 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
timeout: float | None = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
timeout: float | None = None,
|
||||
*,
|
||||
encoding: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -867,8 +867,8 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
timeout: float | None = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
timeout: float | None = None,
|
||||
*,
|
||||
encoding: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -897,10 +897,10 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str | None = None,
|
||||
text: Literal[True],
|
||||
@@ -928,10 +928,10 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str,
|
||||
errors: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -959,10 +959,10 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str,
|
||||
text: bool | None = None,
|
||||
@@ -991,10 +991,10 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
# where the real keyword only ones start
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -1022,10 +1022,10 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: None = None,
|
||||
errors: None = None,
|
||||
text: Literal[False] | None = None,
|
||||
@@ -1053,10 +1053,10 @@ if sys.version_info >= (3, 11):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -1087,10 +1087,10 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str | None = None,
|
||||
text: Literal[True],
|
||||
@@ -1117,10 +1117,10 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str,
|
||||
errors: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -1147,10 +1147,10 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str,
|
||||
text: bool | None = None,
|
||||
@@ -1178,10 +1178,10 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
# where the real keyword only ones start
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -1208,10 +1208,10 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: None = None,
|
||||
errors: None = None,
|
||||
text: Literal[False] | None = None,
|
||||
@@ -1238,10 +1238,10 @@ elif sys.version_info >= (3, 10):
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -1270,10 +1270,10 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str | None = None,
|
||||
text: Literal[True],
|
||||
@@ -1299,10 +1299,10 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str,
|
||||
errors: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -1328,10 +1328,10 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str,
|
||||
text: bool | None = None,
|
||||
@@ -1358,10 +1358,10 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
# where the real keyword only ones start
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str | None = None,
|
||||
text: bool | None = None,
|
||||
@@ -1387,10 +1387,10 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: None = None,
|
||||
errors: None = None,
|
||||
text: Literal[False] | None = None,
|
||||
@@ -1416,10 +1416,10 @@ else:
|
||||
creationflags: int = 0,
|
||||
restore_signals: bool = True,
|
||||
start_new_session: bool = False,
|
||||
pass_fds: Collection[int] = ...,
|
||||
pass_fds: Collection[int] = (),
|
||||
*,
|
||||
timeout: float | None = None,
|
||||
input: _InputString | None = ...,
|
||||
input: _InputString | None = None,
|
||||
encoding: str | None = None,
|
||||
errors: str | None = None,
|
||||
text: bool | None = None,
|
||||
|
||||
Reference in New Issue
Block a user