Wednesday, October 9, 2013

Attribution

>>> class Attribution(object):
...    def __init__(self):
...       self.instance = "instance"
...    type = "type"
...    def __getattr__(self, key):
...       return "__getattr__"
...
>>> a = Attribution()
>>> a.instance
'instance'
>>> a.type
'type'
>>> a.b
'__getattr__'

1 comment:

  1. Like guaranteed free kashflow for accountants and kinds of progress for extra 15% Off. Progress Code and Deal last reestablished. After a short time TV Voucher Codes.

    ReplyDelete