Visitar URL original
gh-129117: Expose `_PyUnicode_IsXidContinue/Start` in `unicodedata` by StanFromIreland 路 Pull Request #140269 路 python/cpython 路 GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Split sentance in docs
  • Loading branch information
StanFromIreland committed Oct 29, 2025
commit 14c953605bfca1e1312e474dc98e9bc9bad73fcb
6 changes: 4 additions & 2 deletions Doc/library/unicodedata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ following functions:

Return ``True`` if *chr* is a valid identifier start per the
`Unicode Standard Annex #31 <https://www.unicode.org/reports/tr31/>`_,
that is, it has the ``XID_Start`` property, ``False`` otherwise. For example::
that is, it has the ``XID_Start`` property. Return ``False`` otherwise.
For example::

>>> unicodedata.isidstart('S')
True
Expand All @@ -162,7 +163,8 @@ following functions:

Return ``True`` if *chr* is a valid identifier charcter per the
Comment thread
vstinner marked this conversation as resolved.
Outdated
`Unicode Standard Annex #31 <https://www.unicode.org/reports/tr31/>`_,
that is, it has the ``XID_Continue`` property, ``False`` otherwise. For example::
that is, it has the ``XID_Continue`` property. Return ``False`` otherwise.
For example::

>>> unicodedata.isidcontinue('S')
True
Expand Down
Loading