Uh oh!
There was an error while loading. Please reload this page.
gh-46236: Document PyUnicode_RSplit, PyUnicode_Partition and PyUnicode_RPartition - #130191
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Let's do a follow-up for normalizing all the naming and check if we need to be pedantic with string vs Unicode string (it may matter as it could hint about the most general kind of the Unicode object).
EDIT: Fine to leave the lonely cases as they are unless someone has time to fix those kind of typos. Though it's possibly better to simply add a top-level paragraph saying "Unless stated otherwise, the terminology "string" refers to a Unicode string" (and not just ASCII-only string).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
encukou
commented
Feb 20, 2025
AFAIK that's a holdover from Python 2, where |
encukou
left a comment
There was a problem hiding this comment.
There are two more items I'd like to see in new docs:
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Petr Viktorin <encukou@gmail.com>
…Unicode_RPartition (pythonGH-130191) (cherry picked from commit 0f5b821) Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
GH-130360 is a backport of this pull request to the 3.13 branch. |
…Unicode_RPartition (pythonGH-130191) (cherry picked from commit 0f5b821) Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
GH-130361 is a backport of this pull request to the 3.12 branch. |
vstinner
commented
Feb 20, 2025
Merged, thank you @cdce8p. |
📚 Documentation preview 📚: https://cpython-previews--130191.org.readthedocs.build/