module_utils/basic.py: properly deprecate importing `text_type` (#85293)

(cherry picked from commit 2cfb158536)
pull/85305/head
Martin Krizek 7 months ago committed by Matt Davis
parent 1fe0fb0e7a
commit 96b97dee7c

@ -2198,7 +2198,7 @@ def __getattr__(importable_name):
importable = repeat
elif importable_name in {
'PY2', 'PY3', 'b', 'binary_type', 'integer_types',
'iteritems', 'string_types', 'test_type'
'iteritems', 'string_types', 'text_type',
}:
import importlib
importable = getattr(

Loading…
Cancel
Save