Stdlib: add container default values (#9909)

This commit is contained in:
Alex Waygood
2023-03-21 08:12:34 +00:00
committed by GitHub
parent 151159709d
commit dd2818a41d
66 changed files with 246 additions and 242 deletions

View File

@@ -1870,7 +1870,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str,
@@ -1901,7 +1901,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str | None = None,
@@ -1933,7 +1933,7 @@ class Popen(Generic[AnyStr]):
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
text: bool | None = None,
encoding: str | None = None,
@@ -1964,7 +1964,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: Literal[True],
encoding: str | None = None,
@@ -1995,7 +1995,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: Literal[None, False] = None,
encoding: None = None,
@@ -2026,7 +2026,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str | None = None,
@@ -2059,7 +2059,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str,
@@ -2089,7 +2089,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str | None = None,
@@ -2120,7 +2120,7 @@ class Popen(Generic[AnyStr]):
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
text: bool | None = None,
encoding: str | None = None,
@@ -2150,7 +2150,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: Literal[True],
encoding: str | None = None,
@@ -2180,7 +2180,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: Literal[None, False] = None,
encoding: None = None,
@@ -2210,7 +2210,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str | None = None,
@@ -2242,7 +2242,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str,
@@ -2271,7 +2271,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str | None = None,
@@ -2301,7 +2301,7 @@ class Popen(Generic[AnyStr]):
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
text: bool | None = None,
encoding: str | None = None,
@@ -2330,7 +2330,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: Literal[True],
encoding: str | None = None,
@@ -2359,7 +2359,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: Literal[None, False] = None,
encoding: None = None,
@@ -2388,7 +2388,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str | None = None,
@@ -2418,7 +2418,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str,
@@ -2443,7 +2443,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str | None = None,
@@ -2469,7 +2469,7 @@ class Popen(Generic[AnyStr]):
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
text: bool | None = None,
encoding: str | None = None,
@@ -2494,7 +2494,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: Literal[True],
encoding: str | None = None,
@@ -2519,7 +2519,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: Literal[None, False] = None,
encoding: None = None,
@@ -2544,7 +2544,7 @@ class Popen(Generic[AnyStr]):
creationflags: int = 0,
restore_signals: bool = True,
start_new_session: bool = False,
pass_fds: Collection[int] = ...,
pass_fds: Collection[int] = (),
*,
text: bool | None = None,
encoding: str | None = None,