Skip to content

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

Open
AlexxRussell wants to merge 1 commit into
python:mainfrom
AlexxRussell:doc-subprocess-check-output
Open

AlexxRussell wants to merge 1 commit into
python:mainfrom
AlexxRussell:doc-subprocess-check-output

Conversation

@AlexxRussell

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant