diff -r 61ca4732399b Lib/inspect.py --- a/Lib/inspect.py Wed Sep 04 14:30:16 2013 +0300 +++ b/Lib/inspect.py Wed Sep 04 19:50:37 2013 -0700 @@ -350,22 +350,22 @@ def classify_class_attrs(cls): kind = "data" obj = obj_via_getattr result.append(Attribute(name, kind, homecls, obj)) return result # ----------------------------------------------------------- class helpers def getmro(cls): - "Return tuple of base classes (including cls) in method resolution order." - return cls.__mro__ + "Return tuple of base classes (including cls and metaclass) in method resolution order." + return cls.__mro__ + (type(cls), ) # -------------------------------------------------------- function helpers def unwrap(func, *, stop=None): """Get the object wrapped by *func*. Follows the chain of :attr:`__wrapped__` attributes returning the last object in the chain. *stop* is an optional callback accepting an object in the wrapper chain