mirror of https://github.com/python/cpython
object() is a function, not a base class.
This commit is contained in:
parent
1320cf8e61
commit
b227bea292
|
@ -700,7 +700,7 @@ class C:
|
|||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{object}{}
|
||||
Return a new featureless object. \function{object()} is a base
|
||||
Return a new featureless object. \class{object} is a base
|
||||
for all new style classes. It has the methods that are common
|
||||
to all instances of new style classes.
|
||||
\versionadded{2.2}
|
||||
|
|
Loading…
Reference in New Issue