Skip to content
Open
Changes from all commits
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
20 changes: 10 additions & 10 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@
.. versionadded:: 3.7

.. _func-bytearray:
.. class:: bytearray(source=b'')

Check warning on line 185 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of bytearray, other instance in library/stdtypes, use :no-index: for one of them
bytearray(source, encoding)
bytearray(source, encoding, errors)
:noindex:
:no-index-entry:

Return a new array of bytes. The :class:`bytearray` class is a mutable
sequence of integers in the range 0 <= x < 256. It has most of the usual
Expand Down Expand Up @@ -214,10 +214,10 @@


.. _func-bytes:
.. class:: bytes(source=b'')

Check warning on line 217 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of bytes, other instance in library/stdtypes, use :no-index: for one of them
bytes(source, encoding)
bytes(source, encoding, errors)
:noindex:
:no-index-entry:

Return a new "bytes" object which is an immutable sequence of integers in
the range ``0 <= x < 256``. :class:`bytes` is an immutable version of
Expand Down Expand Up @@ -468,10 +468,10 @@


.. _func-dict:
.. class:: dict(**kwarg)

Check warning on line 471 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of dict, other instance in library/stdtypes, use :no-index: for one of them
dict(mapping, **kwarg)
dict(iterable, **kwarg)
:noindex:
:no-index-entry:

Create a new dictionary. The :class:`dict` object is the dictionary class.
See :class:`dict` and :ref:`typesmapping` for documentation about this class.
Expand Down Expand Up @@ -846,8 +846,8 @@


.. _func-frozenset:
.. class:: frozenset(iterable=set())

Check warning on line 849 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of frozenset, other instance in library/stdtypes, use :no-index: for one of them
:noindex:
:no-index-entry:

Return a new :class:`frozenset` object, optionally with elements taken from
*iterable*. ``frozenset`` is a built-in class. See :class:`frozenset` and
Expand Down Expand Up @@ -1144,9 +1144,9 @@


.. _func-list:
.. class:: list()

Check warning on line 1147 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of list, other instance in library/stdtypes, use :no-index: for one of them
list(iterable)
:noindex:
:no-index-entry:

Rather than being a function, :class:`list` is actually a mutable
sequence type, as documented in :ref:`typesseq-list` and :ref:`typesseq`.
Expand Down Expand Up @@ -1251,8 +1251,8 @@


.. _func-memoryview:
.. class:: memoryview(object)

Check warning on line 1254 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of memoryview, other instance in library/stdtypes, use :no-index: for one of them
:noindex:
:no-index-entry:

Return a "memory view" object created from the given argument. See
:ref:`typememoryview` for more information.
Expand Down Expand Up @@ -1729,9 +1729,9 @@


.. _func-range:
.. class:: range(stop)

Check warning on line 1732 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of range, other instance in library/stdtypes, use :no-index: for one of them
range(start, stop, step=1)
:noindex:
:no-index-entry:

Rather than being a function, :class:`range` is actually an immutable
sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`.
Expand Down Expand Up @@ -1797,9 +1797,9 @@


.. _func-set:
.. class:: set()

Check warning on line 1800 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of set, other instance in library/stdtypes, use :no-index: for one of them
set(iterable)
:noindex:
:no-index-entry:

Return a new :class:`set` object, optionally with elements taken from
*iterable*. ``set`` is a built-in class. See :class:`set` and
Expand Down Expand Up @@ -1938,9 +1938,9 @@
single: string; str() (built-in function)

.. _func-str:
.. class:: str(object='')

Check warning on line 1941 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of str, other instance in library/stdtypes, use :no-index: for one of them
str(object=b'', encoding='utf-8', errors='strict')
:noindex:
:no-index-entry:

Return a :class:`str` version of *object*. See :func:`str` for details.

Expand Down Expand Up @@ -2054,9 +2054,9 @@


.. _func-tuple:
.. class:: tuple()

Check warning on line 2057 in Doc/library/functions.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

duplicate object description of tuple, other instance in library/stdtypes, use :no-index: for one of them
tuple(iterable)
:noindex:
:no-index-entry:

Rather than being a function, :class:`tuple` is actually an immutable
sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`.
Expand Down
Loading