Skip to content

Popen misleading documentation #114913

Description

@hvbtup

Documentation

It took me hours that I made an error in the code. However, this error was probably the result of an unfortunate formatting in the docs.

The documentation for subprocess.Popen reads:

If given, startupinfo will be a STARTUPINFO object, which is passed to the underlying CreateProcess function. creationflags, if given, can be one or more of the following flags ...

I suggest to start the documentation for creationflags in a new paragraph instead:

If given, startupinfo will be a STARTUPINFO object, which is passed to the underlying CreateProcess function.

creationflags, if given, can be one or more of the following flags ...

I mixed up options for creationflags and startupinfo in my code.

Linked PRs

Metadata

Metadata

Assignees

Labels

docsDocumentation in the Doc dir

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions