diff options
author | Zachary Ware <zach@python.org> | 2019-06-04 21:03:10 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-06-04 21:03:10 (GMT) |
commit | 19a1e1eb86115db66c1faae5927f87e3a12692fc (patch) | |
tree | 2c7c0c34ea617bcf7a089b576908d44f1784ccdd /Lib/enum.py | |
parent | 750767f7c06994f58bf235a520bc76b62affb70b (diff) | |
download | cpython-19a1e1eb86115db66c1faae5927f87e3a12692fc.zip cpython-19a1e1eb86115db66c1faae5927f87e3a12692fc.tar.gz cpython-19a1e1eb86115db66c1faae5927f87e3a12692fc.tar.bz2 |
bpo-34282: Remove deprecated enum _convert method (GH-13823)
Diffstat (limited to 'Lib/enum.py')
-rw-r--r-- | Lib/enum.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/enum.py b/Lib/enum.py index 6ef17c7..403f747 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -464,12 +464,6 @@ class EnumMeta(type): module_globals[name] = cls return cls - def _convert(cls, *args, **kwargs): - import warnings - warnings.warn("_convert is deprecated and will be removed in 3.9, use " - "_convert_ instead.", DeprecationWarning, stacklevel=2) - return cls._convert_(*args, **kwargs) - @staticmethod def _get_mixins_(bases): """Returns the type for creating enum members, and the first inherited |