File tree Expand file tree Collapse file tree 3 files changed +2
-17
lines changed
Expand file tree Collapse file tree 3 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 99__all__ = ['textile' , 'textile_restricted' ]
1010
1111__version__ = VERSION
12-
13-
14- if sys .version_info [:2 ] == (2 , 6 ):
15- warnings .warn (
16- "Python 2.6 is no longer supported by the Python core team, please "
17- "upgrade your Python. A future version of textile will drop support "
18- "for Python 2.6" ,
19- DeprecationWarning
20- )
Original file line number Diff line number Diff line change 3232from textile .objects import Block , Table
3333
3434
35- try :
36- from collections import OrderedDict
37- except ImportError :
38- from ordereddict import OrderedDict
35+ from collections import OrderedDict
3936
4037
4138try :
Original file line number Diff line number Diff line change 1010urlparse = urllib .parse .urlparse
1111HTMLParser = html_parser .HTMLParser
1212
13- try :
14- from collections import OrderedDict
15- except ImportError :
16- from ordereddict import OrderedDict
13+ from collections import OrderedDict
1714
1815from xml .etree import ElementTree
1916
You can’t perform that action at this time.
0 commit comments