Skip to content

Commit 13cacb1

Browse files
Refactor comment and remove trailing whitespace
1 parent e3037cb commit 13cacb1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/cbook/deprecation.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ def finalize(wrapper, new_doc):
175175
try:
176176
obj.__doc__ = new_doc
177177
except (AttributeError, TypeError):
178-
pass # cls.__doc__ is not writeable on Py2.
179-
#TypeError occurs on PyPy
178+
# cls.__doc__ is not writeable on Py2.
179+
# TypeError occurs on PyPy
180+
pass
180181
obj.__init__ = wrapper
181182
return obj
182183
else:

0 commit comments

Comments
 (0)