Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Add "the current working directory" to -I's description #100526

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jiasli
Copy link
Contributor

@jiasli jiasli commented Dec 26, 2022

Per https://docs.python.org/3/using/cmdline.html#cmdoption-I, -I implies -P, and -P indicates "Don’t prepend the current working directory" when used with -m or -c:

image

The description of -I only mentions "the script's directory". "the current working directory" should be mentioned too.

@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants