diff options
Diffstat (limited to 'Lib/sets.py')
-rw-r--r-- | Lib/sets.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/sets.py b/Lib/sets.py index 32a0dd6..99ee931 100644 --- a/Lib/sets.py +++ b/Lib/sets.py @@ -80,6 +80,10 @@ except ImportError: __all__ = ['BaseSet', 'Set', 'ImmutableSet'] +import warnings +warnings.warn("the sets module is deprecated", DeprecationWarning, + stacklevel=2) + class BaseSet(object): """Common base class for mutable and immutable sets.""" |