deprecated-class / W4904ΒΆ
Message emitted:
Using deprecated class %s of module %s
Description:
The class is marked as deprecated and will be removed in the future.
Problematic code:
from collections import Iterable # [deprecated-class]
Correct code:
from collections.abc import Iterable
Additional details:
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.