From: Berker Peksag Date: Mon, 2 Jan 2017 03:00:35 +0000 (+0300) Subject: Issue #29012: Remove outdated information about __bases__ X-Git-Tag: v3.5.3rc1~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=14adafd6eec3b68d11e147c77dab37ad5962fcd6;p=thirdparty%2FPython%2Fcpython.git Issue #29012: Remove outdated information about __bases__ Patch by Jim Fasarakis-Hilliard. --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 73eec1c557e1..2f5625b4525b 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -765,7 +765,7 @@ Custom classes Special attributes: :attr:`~definition.__name__` is the class name; :attr:`__module__` is the module name in which the class was defined; :attr:`~object.__dict__` is the dictionary containing the class's namespace; :attr:`~class.__bases__` is a - tuple (possibly empty or a singleton) containing the base classes, in the + tuple (possibly a singleton) containing the base classes, in the order of their occurrence in the base class list; :attr:`__doc__` is the class's documentation string, or ``None`` if undefined.