Martin Panter added the comment:
Here is a patch. Perhaps it is what you had in mind. I added quick mentions of
the “object” class to The Standard Type Hierarchy and Other Built-in Types. I
added documentation of what the object class’s own implementations do where it
provides them. I added
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: -ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16508
___
___
Python-bugs-list
R. David Murray added the comment:
Doing this is going to be a bit tricky, since currently links like
:meth:`object.__format__` go to the special methods section. So I think making
the distinction between available special methods and ones that object
implements will need to be done at the
Terry J. Reedy added the comment:
What does not help is that help(ob) omits all the methods inherited from
object, *even when ob is object*. See #20285.
--
versions: -Python 3.2
___
Python tracker rep...@bugs.python.org
Éric Araujo added the comment:
I think there was another issue discussing a separation between object.__str__
and someobject.__bytes__, to make it clear which are existing methods of the
object class and which are methods that one may implement in their classes.
--
Changes by M. Volz marie...@gmail.com:
--
nosy: +mvolz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16508
___
___
Python-bugs-list mailing list
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16508
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16508
___
___
Terry J. Reedy added the comment:
good idea
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16508
___
___
Python-bugs-list
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
assignee: docs@python - chris.jerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16508
___
New submission from Chris Jerdonek:
This issue is to add the object type to the list of types documented in the
language reference's standard type hierarchy and the library reference's list
of built-in types:
http://docs.python.org/dev/reference/datamodel.html#the-standard-type-hierarchy
11 matches
Mail list logo