]> granicus.if.org Git - python/commit
Refine docs for super() noting that sibling classes can
authorRaymond Hettinger <python@rcn.com>
Tue, 24 Feb 2009 23:30:43 +0000 (23:30 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 24 Feb 2009 23:30:43 +0000 (23:30 +0000)
commit4d9a823cb64a7ed95b2bf356322362ca91b00ea0
tree2aa7360b8da214b15b485c731c54915eab6a10be
parent886687dcda94bfb4b1c5bd1c5152ef91011a9c1c
Refine docs for super() noting that sibling classes can
be called, not just parents.  Add a comparison to getattr()
which has the same search order but also includes the type
itself.
Doc/library/functions.rst
Lib/pydoc.py