diff options
Diffstat (limited to 'python/decorators.py')
| -rw-r--r-- | python/decorators.py | 2 |
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 |
