summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2021-04-07 20:22:36 -0400
committerJordan Wiens <jordan@psifertex.com>2021-04-07 20:22:36 -0400
commita39ee992ab54eddb4ce06c41e8d552e55bf4e0b2 (patch)
treee22724f8a24504f9c50a02325b38f1d3c0e8acec /python
parent75cf5c10b43d2c8cbb1ad636a62d807bb1987e76 (diff)
good thing the decorator wasnt applied to anything with an actual pydoc
Diffstat (limited to 'python')
-rw-r--r--python/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/decorators.py b/python/decorators.py
index bd4a82c7..fcd3a8be 100644
--- a/python/decorators.py
+++ b/python/decorators.py
@@ -4,7 +4,7 @@ def passive(cls):
.. note:: This object is a "passive" object. Any changes you make to it will not be reflected in the core and vice-versa. If you wish to update a core version of this object you should use the appropriate API.
'''
- if hasattr(cls, ".__doc__") and cls.__doc__:
+ if hasattr(cls, "__doc__") and cls.__doc__:
cls.__doc__ += passive_note
else:
cls.__doc__ = passive_note