[3.13] GH-118844: Fix build failures when combining --disable-gil with --enable-experimental-jit (GH-118959)

(cherry picked from commit 5b941e57c7)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-05-13 06:53:30 +02:00 committed by GitHub
parent 6e855b30a9
commit 9d2c10bee3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 3 deletions

View file

@ -842,7 +842,7 @@ class Popen:
raise TypeError("bufsize must be an integer")
if stdout is STDOUT:
raise ValueError("STDOUT can only be used for stderr")
raise ValueError("STDOUT can only be used for stderr")
if pipesize is None:
pipesize = -1 # Restore default