Skip to content

Commit 4666b93

Browse files
authored
Add errors parameter to subprocess.call and check_call (#16540)
1 parent ed19811 commit 4666b93

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎stdlib/subprocess.pyi‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ if sys.version_info >= (3, 11):
518518
pass_fds: Collection[int] = (),
519519
*,
520520
encoding: str | None = None,
521+
errors: str | None = None,
521522
timeout: float | None = None,
522523
text: bool | None = None,
523524
user: str | int | None = None,
@@ -550,6 +551,7 @@ else:
550551
pass_fds: Collection[int] = (),
551552
*,
552553
encoding: str | None = None,
554+
errors: str | None = None,
553555
timeout: float | None = None,
554556
text: bool | None = None,
555557
user: str | int | None = None,
@@ -583,6 +585,7 @@ if sys.version_info >= (3, 11):
583585
timeout: float | None = None,
584586
*,
585587
encoding: str | None = None,
588+
errors: str | None = None,
586589
text: bool | None = None,
587590
user: str | int | None = None,
588591
group: str | int | None = None,
@@ -615,6 +618,7 @@ else:
615618
timeout: float | None = None,
616619
*,
617620
encoding: str | None = None,
621+
errors: str | None = None,
618622
text: bool | None = None,
619623
user: str | int | None = None,
620624
group: str | int | None = None,

0 commit comments

Comments
 (0)