@@ -353,7 +353,7 @@ Notes:
353
353
The numeric literals accepted include the digits ``0 `` to ``9 `` or any
354
354
Unicode equivalent (code points with the ``Nd `` property).
355
355
356
- See https://www. unicode.org/Public/15.0.0/ucd/ extracted/DerivedNumericType.txt
356
+ See ` the Unicode Standard < https://unicode.org/Public/UNIDATA/ extracted/DerivedNumericType.txt >`_
357
357
for a complete list of code points with the ``Nd `` property.
358
358
359
359
@@ -1522,7 +1522,7 @@ multiple fragments.
1522
1522
printable string representation of *object *. For string objects, this is
1523
1523
the string itself. If *object * does not have a :meth: `~object.__str__ `
1524
1524
method, then :func: `str ` falls back to returning
1525
- :meth : `repr(object) <repr> `.
1525
+ :func : `repr(object) <repr> `.
1526
1526
1527
1527
.. index ::
1528
1528
single: buffer protocol; str (built-in class)
@@ -1597,8 +1597,9 @@ expression support in the :mod:`re` module).
1597
1597
lowercase, :meth: `lower ` would do nothing to ``'ß' ``; :meth: `casefold `
1598
1598
converts it to ``"ss" ``.
1599
1599
1600
- The casefolding algorithm is described in section 3.13 of the Unicode
1601
- Standard.
1600
+ The casefolding algorithm is
1601
+ `described in section 3.13 of the Unicode Standard
1602
+ <http://www.unicode.org/versions/Unicode15.0.0/ch03.pdf#G53253> `__.
1602
1603
1603
1604
.. versionadded :: 3.3
1604
1605
@@ -1757,7 +1758,8 @@ expression support in the :mod:`re` module).
1757
1758
one character, ``False `` otherwise. Alphabetic characters are those characters defined
1758
1759
in the Unicode character database as "Letter", i.e., those with general category
1759
1760
property being one of "Lm", "Lt", "Lu", "Ll", or "Lo". Note that this is different
1760
- from the "Alphabetic" property defined in the Unicode Standard.
1761
+ from the `Alphabetic property defined in the Unicode Standard
1762
+ <https://www.unicode.org/versions/Unicode15.0.0/ch04.pdf#G91002> `_.
1761
1763
1762
1764
1763
1765
.. method :: str.isascii()
@@ -1794,7 +1796,7 @@ expression support in the :mod:`re` module).
1794
1796
Return ``True `` if the string is a valid identifier according to the language
1795
1797
definition, section :ref: `identifiers `.
1796
1798
1797
- Call :func: `keyword.iskeyword ` to test whether string ``s `` is a reserved
1799
+ :func: `keyword.iskeyword ` can be used to test whether string ``s `` is a reserved
1798
1800
identifier, such as :keyword: `def ` and :keyword: `class `.
1799
1801
1800
1802
Example:
@@ -1891,8 +1893,9 @@ expression support in the :mod:`re` module).
1891
1893
Return a copy of the string with all the cased characters [4 ]_ converted to
1892
1894
lowercase.
1893
1895
1894
- The lowercasing algorithm used is described in section 3.13 of the Unicode
1895
- Standard.
1896
+ The lowercasing algorithm used is
1897
+ `described in section 3.13 of the Unicode Standard
1898
+ <https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf#G34078> `__.
1896
1899
1897
1900
1898
1901
.. method :: str.lstrip([chars])
@@ -2236,8 +2239,9 @@ expression support in the :mod:`re` module).
2236
2239
character(s) is not "Lu" (Letter, uppercase), but e.g. "Lt" (Letter,
2237
2240
titlecase).
2238
2241
2239
- The uppercasing algorithm used is described in section 3.13 of the Unicode
2240
- Standard.
2242
+ The uppercasing algorithm used is
2243
+ `described in section 3.13 of the Unicode Standard
2244
+ <https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf#G34078> `__.
2241
2245
2242
2246
2243
2247
.. method :: str.zfill(width)
0 commit comments