When I create a module with its sole content:
class Classname(randomobject):
pass
And I try to run the .py file of the module the interpreter says that randomobject
is not defined.
But when I do:
class Classname(object):
pass
The module runs just fine. So if object
is not a keyword, then what is it?