[FRPythoneers] Base Object in Python

Keith Hellman kehellman at yahoo.com
Wed Jan 23 15:17:51 MST 2002

How do I create the most generic of generic objects in python?  I realize
it can be as simple as 

class super : pass
s = super()
# Now I could do dir(s), s.__dict__, setattr(s, 'spam', None )...

I'm just curious if python has a built-in function or type that fulfills
this type of need.  This 100% a curiosity question ...


Keith E. Hellman
kehellman at yahoo.com

Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!

More information about the FRPythoneers mailing list