Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix option wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Nov 11, 2020
1 parent 0547957 commit 3a433f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/misc/decorators.py
Expand Up @@ -238,7 +238,7 @@ def listForNone(l):
return ArgSpec(args, argspec.varargs, argspec.keywords, defaults)
wrapper._sage_argspec_ = argspec

return decorate(func, wrapper)
return wrapper


class options(object):
Expand Down Expand Up @@ -375,7 +375,7 @@ def reset():
%s
""" % self.options

return decorate(func, wrapper)
return wrapper


def rename_keyword(deprecated=None, deprecation=None, **renames):
Expand Down

0 comments on commit 3a433f7

Please sign in to comment.