deprecated-method / W4902#
Using deprecated method %s()
The method is marked as deprecated and will be removed in the future.
import logging logging.warn("I'm coming, world !") # [deprecated-method]
import logging logging.warning("I'm coming, world !")
The actual replacement needs to be studied on a case by case basis by reading the deprecation warning or the release notes.
Created by the stdlib checker.