diff options
| author | Michele Simionato <michele.simionato@gmail.com> | 2015-03-16 16:19:29 +0100 |
|---|---|---|
| committer | Michele Simionato <michele.simionato@gmail.com> | 2015-03-16 16:19:29 +0100 |
| commit | 0a949e970b90c502607daf091feda8b0e3e84a8c (patch) | |
| tree | 66640cd68b7c6b165f5491db25ff7cdd90d60585 /src | |
| parent | fbb573305de8a4b464640fe1251b51bc8b6378f8 (diff) | |
| parent | 4dbca25bb139bead4221ab19eade93cfd7ce16ea (diff) | |
| download | python-decorator-git-0a949e970b90c502607daf091feda8b0e3e84a8c.tar.gz | |
Merge branch '3.4.1'
Diffstat (limited to 'src')
| -rw-r--r-- | src/decorator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decorator.py b/src/decorator.py index 4ed7247..ece2488 100644 --- a/src/decorator.py +++ b/src/decorator.py @@ -111,7 +111,7 @@ class FunctionMaker(object): allshortargs.append('**' + self.varkw) self.signature = ', '.join(allargs) self.shortsignature = ', '.join(allshortargs) - self.dict = func.__dict__ + self.dict = func.__dict__.copy() # func=None happens when decorating a caller if name: self.name = name |
