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

Skip to content

Commit a6229e6

Browse files
committed
Fix and add more links.
1 parent c33899b commit a6229e6

4 files changed

Lines changed: 14 additions & 6 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/functions.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ are always available. They are listed here in alphabetical order.
122122

123123
Without an argument, an array of size 0 is created.
124124

125+
See also :ref:`binaryseq` and :ref:`typebytearray`.
126+
125127

126128
.. _func-bytes:
127129
.. function:: bytes([source[, encoding[, errors]]])
@@ -135,6 +137,8 @@ are always available. They are listed here in alphabetical order.
135137

136138
Bytes objects can also be created with literals, see :ref:`strings`.
137139

140+
See also :ref:`binaryseq`, :ref:`typebytes`, and :ref:`bytes-methods`.
141+
138142

139143
.. function:: callable(object)
140144

@@ -687,6 +691,8 @@ are always available. They are listed here in alphabetical order.
687691
method; if the value returned is equal to *sentinel*, :exc:`StopIteration`
688692
will be raised, otherwise the value will be returned.
689693

694+
See also :ref:`typeiter`.
695+
690696
One useful application of the second form of :func:`iter` is to read lines of
691697
a file until a certain line is reached. The following example reads a file
692698
until the :meth:`readline` method returns an empty string::
@@ -707,7 +713,7 @@ are always available. They are listed here in alphabetical order.
707713
:noindex:
708714

709715
Rather than being a function, :class:`list` is actually a mutable
710-
sequence type, as documented in :ref:`typesseq`.
716+
sequence type, as documented in :ref:`typesseq-list` and :ref:`typesseq`.
711717

712718

713719
.. function:: locals()
@@ -1081,7 +1087,7 @@ are always available. They are listed here in alphabetical order.
10811087
:noindex:
10821088

10831089
Rather than being a function, :class:`range` is actually an immutable
1084-
sequence type, as documented in :ref:`typesseq`.
1090+
sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`.
10851091

10861092

10871093
.. function:: repr(object)
@@ -1309,7 +1315,7 @@ are always available. They are listed here in alphabetical order.
13091315
:noindex:
13101316

13111317
Rather than being a function, :class:`tuple` is actually an immutable
1312-
sequence type, as documented in :ref:`typesseq`.
1318+
sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`.
13131319

13141320

13151321
.. function:: type(object)
@@ -1342,6 +1348,8 @@ are always available. They are listed here in alphabetical order.
13421348
...
13431349
>>> X = type('X', (object,), dict(a=1))
13441350

1351+
See also :ref:`bltin-type-objects`.
1352+
13451353

13461354
.. function:: vars([object])
13471355

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

0 commit comments

Comments
 (0)