-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-39759: fixed os.getenv docs #18668
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix also the documentation for getenvb
.
@dorosch Would you still be interested in updating this PR per Serhiy's comment? |
The proposed change removes a useful information: that the result is a string if the key is found (and it is a bytes object in Also, the docstrings say the same as the documentation, so it should be updated correspondingly. |
Will start on a new PR here then, let me know if you'd still like to work on this one. |
See #98113 |
https://bugs.python.org/issue39759