-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Update the docstring of untokenize()
to match the docs
#128519
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
Labels
Comments
erlend-aasland
pushed a commit
that referenced
this issue
Jan 6, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 6, 2025
pythonGH-128521) (cherry picked from commit aef52ca) Co-authored-by: Tomas R. <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 6, 2025
pythonGH-128521) (cherry picked from commit aef52ca) Co-authored-by: Tomas R. <[email protected]>
This was referenced Jan 6, 2025
erlend-aasland
pushed a commit
that referenced
this issue
Jan 6, 2025
…cs (GH-128521) (#128532) (cherry picked from commit aef52ca) Co-authored-by: Tomas R <[email protected]>
erlend-aasland
pushed a commit
that referenced
this issue
Jan 6, 2025
…cs (GH-128521) (#128531) (cherry picked from commit aef52ca) Co-authored-by: Tomas R <[email protected]>
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Documentation
In #128031, it was deemed too risky to change
untokenize()
to more closely match the original input string. We should update the docstring ofuntokenize
to reflect that and prevent confusion in the (rare) case whenuntokenize
does not match the input.The docs already make that clear so we can simply reuse that explanation:
cpython/Doc/library/tokenize.rst
Lines 94 to 98 in 2228e92
Linked PRs
untokenize()
to match the docs #128521The text was updated successfully, but these errors were encountered: