class OOO (object):
def __init__ (i, **a): i.__dict__ = a
def __repr__ (i):
a = i.__dict__
return "%s (%s)" % (type (i).__name__, ", ".join (
"%s=%r" % (o, a [o]) for o in sorted (a.iterkeys ())
))
class OO (object):
def __init__ (i, *o, **a):
All of the objects in Python are passed by reference: the address
and the type of the object. The immutable types, such as our old
friend the int, are shared by the function and the application,
as well. Assigning to the function variable containing the int
cannot change the int itself, only