UI/SymbolsWidget.py

branch
6_1_x
changeset 4972
fe8015457551
parent 4969
2e3bf59087ec
child 5389
9b1c800daff3
equal deleted inserted replaced
4969:2e3bf59087ec 4972:fe8015457551
12 try: 12 try:
13 # Py2 13 # Py2
14 str = unicode # __IGNORE_WARNING__ 14 str = unicode # __IGNORE_WARNING__
15 chr = unichr # __IGNORE_WARNING__ 15 chr = unichr # __IGNORE_WARNING__
16 import htmlentitydefs as html_entities # __IGNORE_WARNING__ 16 import htmlentitydefs as html_entities # __IGNORE_WARNING__
17 except NameError: 17 except (NameError, ImportError):
18 # Py3 18 # Py3
19 import html.entities as html_entities 19 import html.entities as html_entities
20 20
21 import sys 21 import sys
22 import unicodedata 22 import unicodedata

eric ide

mercurial