Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b548d49

Browse files
committed
merge heads
2 parents 143d034 + 1dd7c30 commit b548d49

6 files changed

Lines changed: 11 additions & 9 deletions

File tree

Doc/howto/unicode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ References
414414
----------
415415

416416
The ``str`` type is described in the Python library reference at
417-
:ref:`typesseq`.
417+
:ref:`textseq`.
418418

419419
The documentation for the :mod:`unicodedata` module.
420420

Doc/library/exceptions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ The following exceptions are the exceptions that are usually raised.
275275
.. exception:: StopIteration
276276

277277
Raised by built-in function :func:`next` and an :term:`iterator`\'s
278-
:meth:`__next__` method to signal that there are no further items to be
279-
produced by the iterator.
278+
:meth:`~iterator.__next__` method to signal that there are no further
279+
items produced by the iterator.
280280

281281
The exception object has a single attribute :attr:`value`, which is
282282
given as an argument when constructing the exception, and defaults

Doc/library/stdtypes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,8 +1358,8 @@ Text Sequence Type --- :class:`str`
13581358
object: io.StringIO
13591359

13601360

1361-
Textual data in Python is handled with :class:`str` objects, which are
1362-
immutable sequences of Unicode code points. String literals are
1361+
Textual data in Python is handled with ``str`` objects, which are immutable
1362+
:ref:`sequences <typesseq>` of Unicode code points. String literals are
13631363
written in a variety of ways:
13641364

13651365
* Single quotes: ``'allows embedded "double" quotes'``
@@ -1377,8 +1377,8 @@ See :ref:`strings` for more about the various forms of string literal,
13771377
including supported escape sequences, and the ``r`` ("raw") prefix that
13781378
disables most escape sequence processing.
13791379

1380-
Strings may also be created from other objects with the :ref:`str <func-str>`
1381-
built-in.
1380+
Strings may also be created from other objects with the built-in
1381+
function :func:`str`.
13821382

13831383
Since there is no separate "character" type, indexing a string produces
13841384
strings of length 1. That is, for a non-empty string *s*, ``s[0] == s[0:1]``.

Doc/library/string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
.. seealso::
1212

13-
:ref:`typesseq`
13+
:ref:`textseq`
1414

1515
:ref:`string-methods`
1616

Doc/tutorial/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ The built-in function :func:`len` returns the length of a string::
390390

391391
.. seealso::
392392

393-
:ref:`typesseq`
393+
:ref:`textseq`
394394
Strings are examples of *sequence types*, and support the common
395395
operations supported by such types.
396396

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Core and Builtins
4141
Library
4242
-------
4343

44+
- Issue #16176: Properly identify Windows 8 via platform.platform()
45+
4446
- Issue #16114: The subprocess module no longer provides a misleading error
4547
message stating that args[0] did not exist when either the cwd or executable
4648
keyword arguments specified a path that did not exist.

0 commit comments

Comments
 (0)