summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2019-12-30 17:16:43 -0500
committerGitHub <noreply@github.com>2019-12-30 17:16:43 -0500
commitee9ff05ec22ecd47dbffdd361967ccd55963dad2 (patch)
treea0e82c8cf0748f4de4e500cd9781b68208924a7e /Doc/library
parentd9e561d23d994e3ed15f4fcbd7ee5c8fe50f190b (diff)
downloadcpython-git-ee9ff05ec22ecd47dbffdd361967ccd55963dad2.tar.gz
bpo-34118: memoryview, range, and tuple are classes (GH-17761)
Tag memoryview, range, and tuple as classes, the same as list, etcetera, in the library manual built-in functions list.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/functions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 5abf978c88..dc3391ffe8 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -952,7 +952,7 @@ are always available. They are listed here in alphabetical order.
.. _func-memoryview:
-.. function:: memoryview(obj)
+.. class:: memoryview(obj)
:noindex:
Return a "memory view" object created from the given argument. See
@@ -1408,7 +1408,7 @@ are always available. They are listed here in alphabetical order.
.. _func-range:
-.. function:: range(stop)
+.. class:: range(stop)
range(start, stop[, step])
:noindex:
@@ -1655,7 +1655,7 @@ are always available. They are listed here in alphabetical order.
.. _func-tuple:
-.. function:: tuple([iterable])
+.. class:: tuple([iterable])
:noindex:
Rather than being a function, :class:`tuple` is actually an immutable