Skip to content

Fix the check_output() example output in the subprocess docs - #162237

Merged
StanFromIreland merged 1 commit into
python:mainfrom
AlexxRussell:doc-subprocess-check-output
Nov 24, 2026
Merged

StanFromIreland merged 1 commit into
python:mainfrom
AlexxRussell:doc-subprocess-check-output

Conversation

@AlexxRussell

Copy link
Copy Markdown
Contributor

The check_output() example shows its result as a str, but without text=True the function returns bytes, as the text above the example says ("By default, this function will return the data as encoded bytes").

Trivial docs fix, so no issue.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35995933 | 📁 Comparing a88632a against main (ddd88c7)

  🔍 Preview build  

1 file changed
± library/subprocess.html

@StanFromIreland StanFromIreland added awaiting review needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes and removed awaiting merge labels Nov 24, 2026
@StanFromIreland
StanFromIreland merged commit 8d3bdd3 into python:main Nov 24, 2026
51 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 24, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @AlexxRussell for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Nov 24, 2026

Copy link
Copy Markdown

GH-162566 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Nov 24, 2026
@bedevere-app

bedevere-app Bot commented Nov 24, 2026

Copy link
Copy Markdown

GH-162567 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 24, 2026
StanFromIreland pushed a commit that referenced this pull request Nov 24, 2026
…cs (GH-162237) (#162567)

(cherry picked from commit 8d3bdd3)

Co-authored-by: Alexander R <alex-secure@tuta.io>
StanFromIreland pushed a commit that referenced this pull request Nov 24, 2026
…cs (GH-162237) (#162566)

(cherry picked from commit 8d3bdd3)

Co-authored-by: Alexander R <alex-secure@tuta.io>
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