deprecated-argument / W4903#
Message emitted:
Using deprecated argument %s of method %s()
Description:
The argument is marked as deprecated and will be removed in the future.
Problematic code:
int(x=1) # [deprecated-argument]
Correct code:
int(1)
Configuration file:
Additional details:
This message can be raised on your own code using a custom deprecation checker (follow link for a full example).
Loading this custom checker using load-plugins
would start raising deprecated-argument
.
The actual replacement then need to be studied on a case by case basis by reading the deprecation warning or the release notes.
Created by the stdlib checker.