ya2
·
news
·
projects
·
code
·
about
Ya2
/
projects
/
pmachines.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
removed uml diagrams
[pmachines.git]
/
ya2
/
decorator.py
1
# class Decorator:
2
3
# def __init__(self, decorated):
4
# self.__dict__['_decorated'] = decorated
5
6
# def __getattr__(self, attr): return getattr(self._decorated, attr)
7
8
# def __setattr__(self, attr, value):
9
# return setattr(self._decorated, attr, value)