Skip to content

Commit 89ad9d2

Browse files
author
Thomas Hagelmayer
committed
Trac #31125: fix deprecation plugin failure
1 parent 7e7b5c7 commit 89ad9d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sage/rings/asymptotic/term_monoid.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,8 +1866,7 @@ def _element_constructor_(self, data, *args, **kwds):
18661866
f'but {len(args)+1} were given')
18671867
elif len(args) == 1:
18681868
from sage.misc.superseded import deprecation
1869-
deprecation(
1870-
32215,
1869+
deprecation(32215,
18711870
"Passing 'coefficient' as a positional argument is deprecated; "
18721871
"specify it as keyword argument 'coefficient=...'.")
18731872
if 'coefficient' in kwds:

0 commit comments

Comments
 (0)