Skip to content

Commit acffcf6

Browse files
authored
MAINT: _lib: add missing f string to _deprecate_positional_args
1 parent e1a841b commit acffcf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scipy/_lib/deprecation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def warn_deprecated_args(kwargs):
219219
if intersection:
220220
message = (f"Arguments {intersection} are deprecated, whether passed "
221221
"by position or keyword. They will be removed in SciPy "
222-
"{version}. ")
222+
f"{version}. ")
223223
message += custom_message
224224
warnings.warn(message, category=DeprecationWarning, stacklevel=3)
225225

0 commit comments

Comments
 (0)