Vehicle-Anti-Theft-Face-Rec.../venv/Lib/site-packages/ipywidgets/widgets/util.py

16 lines
327 B
Python
Raw Normal View History

2020-11-12 16:05:57 +00:00
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
# six is not a direct dependency of this module
# This replicates six.text_type
try:
text_type = unicode
except NameError:
text_type = str
try:
string_types = basestring
except NameError:
string_types = str