Skip to content

Commit

Permalink
src/sage/misc/call.py: register_unpickle_override for call_method
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jun 17, 2020
1 parent b9314d4 commit 6024ffd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sage/misc/call.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,6 @@ def call_method(obj, name, *args, **kwds):
3
"""
return getattr(obj, name)(*args, **kwds)

from sage.misc.persist import register_unpickle_override
register_unpickle_override("sage.misc.misc", "call_method", call_method)

0 comments on commit 6024ffd

Please sign in to comment.