Skip to content

Commit 41c9b5f

Browse files
committed
Fix Documentation
Signed-off-by: Felix Schnabel <[email protected]>
1 parent f121fbc commit 41c9b5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monai/utils/deprecate_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ def deprecated_arg_default(
254254
name: name of position or keyword argument where the default is deprecated/changed.
255255
old_default: name of the old default. This is only for the warning message, it will not be validated.
256256
new_default: name of the new default.
257-
It is validated that this value is not present as the default before version `changed`.
257+
It is validated that this value is not present as the default before version `replaced`.
258258
This means, that you can also use this if the actual default value is `None` and set later in the function.
259259
You can also set this to any string representation, e.g. `"calculate_default_value()"`
260260
if the default is calculated from another function.
261-
since: version at which the argument default was marked deprecated but not changed.
261+
since: version at which the argument default was marked deprecated but not replaced.
262262
replaced: version at which the argument default was/will be replaced.
263263
msg_suffix: message appended to warning/exception detailing reasons for deprecation.
264264
version_val: (used for testing) version to compare since and removed against, default is MONAI version.

0 commit comments

Comments
 (0)