Skip to content

Commit e7dfd40

Browse files
authored
Merge pull request scipy#22135 from j-bowhay/missingfstring
MAINT: _lib: add missing f string to _deprecate_positional_args
2 parents e1a841b + acffcf6 commit e7dfd40

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)