diff options
author | Marcel Hellkamp <marc@gsites.de> | 2016-09-02 19:32:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-02 19:32:49 +0200 |
commit | 7e068f2e4ce61eb346215408159f399840aab11b (patch) | |
tree | 5b12863fddc292b81a1e9c38bdcc9bf2f80e340a | |
parent | 18bbebdb7e8f0fbc2ee2d7f8324c3596caf43caf (diff) | |
parent | 8ceb87be4d8f3f351b9a69f7daa5fac26c8aa4d8 (diff) | |
download | bottle-7e068f2e4ce61eb346215408159f399840aab11b.tar.gz |
Merge pull request #883 from oz123/update_cached_property
Tiny update to cached_property
-rw-r--r-- | bottle.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -244,7 +244,7 @@ class cached_property(object): property. """ def __init__(self, func): - self.__doc__ = getattr(func, '__doc__') + update_wrapper(self, func) self.func = func def __get__(self, obj, cls): @@ -266,7 +266,7 @@ class lazy_attribute(object): return value ############################################################################### -# Exceptions and Events ######################################################## +# Exceptions and Events ####################################################### ############################################################################### |