File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -254,11 +254,11 @@ def deprecated_arg_default(
254
254
name: name of position or keyword argument where the default is deprecated/changed.
255
255
old_default: name of the old default. This is only for the warning message, it will not be validated.
256
256
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 `.
258
258
This means, that you can also use this if the actual default value is `None` and set later in the function.
259
259
You can also set this to any string representation, e.g. `"calculate_default_value()"`
260
260
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 .
262
262
replaced: version at which the argument default was/will be replaced.
263
263
msg_suffix: message appended to warning/exception detailing reasons for deprecation.
264
264
version_val: (used for testing) version to compare since and removed against, default is MONAI version.
You can’t perform that action at this time.
0 commit comments