summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorFurkan Onder <furkanonder@protonmail.com>2024-10-30 18:20:02 (GMT)
committerGitHub <noreply@github.com>2024-10-30 18:20:02 (GMT)
commit4f826214b30ad50365f45bf07e4a02f34f897ab5 (patch)
treea00f9beeebfb9c6ffa09ba8c6adfa189c1be6c9b /Doc/library
parent6f512c603465ff3e51e07cb7e1d36b4e5e88905d (diff)
downloadcpython-4f826214b30ad50365f45bf07e4a02f34f897ab5.zip
cpython-4f826214b30ad50365f45bf07e4a02f34f897ab5.tar.gz
cpython-4f826214b30ad50365f45bf07e4a02f34f897ab5.tar.bz2
gh-60712: Include the "object" type in the lists of documented types (GH-103036)
* add test for the predefined object's attributes * Include the "object" type in the lists of documented types * remove 'or' from augment tuple * 📜🤖 Added by blurb_it. * Add cross-reference to news Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * Fix format for the function parameter Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * Add space Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * add reference for the 'object' Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * add reference for NotImplemented Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * Change ref:`string <textseq>` as class:`str` Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * remove hyphen from `newly-created` * Update Doc/reference/datamodel.rst 'dictionaries' to 'dict' Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * Update predefined attribute types in testPredefinedAttrs * Change `universal type` as `top type` * Don't mention about the top type * Update the description of richcmpfuncs * Update Doc/library/stdtypes.rst Co-authored-by: Éric <merwok@netwok.org> * Revert: Hierarchy Section in Data Model Documentation * Revert to original explanations of __new__ and __init__ methods in datamodel.rst for improved clarity. * Update Doc/reference/datamodel.rst Co-authored-by: Éric <merwok@netwok.org> * Remove blank line Co-authored-by: Éric <merwok@netwok.org> * Use ref:`str <textseq>` instead of :class:`str Co-authored-by: Éric <merwok@netwok.org> * Revert changes the description of Other Built-in Types in stdtypes.rst * Update Doc/reference/datamodel.rst Co-authored-by: Éric <merwok@netwok.org> --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/functions.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 5c0efd2..03fc41f 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1293,9 +1293,10 @@ are always available. They are listed here in alphabetical order.
.. class:: object()
- Return a new featureless object. :class:`object` is a base for all classes.
- It has methods that are common to all instances of Python classes. This
- function does not accept any arguments.
+ This is the ultimate base class of all other classes. It has methods
+ that are common to all instances of Python classes. When the constructor
+ is called, it returns a new featureless object. The constructor does not
+ accept any arguments.
.. note::