Skip to content

[3.15] [Doc] Fix argument name of os.spawn* functions (GH-121094) - #161412

Merged
encukou merged 1 commit into
python:3.15from
miss-islington:backport-288cc2b-3.15
Nov 5, 2026
Merged

encukou merged 1 commit into
python:3.15from
miss-islington:backport-288cc2b-3.15

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor

Replace argument names path for file, the real names from them.

It's possible to pass these as keyword arguments to the *v* functions;
the following doesn't work:
os.spawnv(mode=os.P_WAIT, path='/usr/bin/echo', args=['echo', 'hi'])
(cherry picked from commit 288cc2b)

Co-authored-by: Adorilson Bezerra adorilson@gmail.com

Replace argument names *path*  for *file*, the real names from them.

It's possible to pass these as keyword arguments to the `*v*` functions;
the following doesn't work:
os.spawnv(mode=os.P_WAIT, path='/usr/bin/echo', args=['echo', 'hi'])
(cherry picked from commit 288cc2b)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@read-the-docs-community

Copy link
Copy Markdown

@encukou
encukou merged commit 42779e9 into python:3.15 Nov 5, 2026
41 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 5, 2026
@miss-islington
miss-islington deleted the backport-288cc2b-3.15 branch November 5, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants