8000 Catch exception for PyPy by gabriel-munteanu · Pull Request #8803 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Catch exception for PyPy #8803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 27, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Refactor comment and remove trailing whitespace
  • Loading branch information
gabriel-munteanu committed Jun 27, 2017
commit 13cacb12fdff0137c02f4d0c59a4878ca5b24150
5 changes: 3 additions & 2 deletions lib/matplotlib/cbook/deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ def finalize(wrapper, new_doc):
try:
obj.__doc__ = new_doc
except (AttributeError, TypeError):
pass # cls.__doc__ is not writeable on Py2.
#TypeError occurs on PyPy
# cls.__doc__ is not writeable on Py2.
# TypeError occurs on PyPy
pass
obj.__init__ = wrapper
return obj
else:
Expand Down
0