mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-14 17:32:12 -05:00
Fix Python 2.6 incompatibility introduced in 4e77027.
This commit is contained in:
1 parent
a9323e6f59
commit
f5ae89af15
1 file changed
+4
-1
@@ -4,7 +4,10 @@
|
||||
from __future__ import print_function
|
||||
|
||||
from six import iteritems
|
||||
from collections import OrderedDict
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError: # Fallback for Python 2.6
|
||||
OrderedDict = dict
|
||||
|
||||
# Pgen imports
|
||||
|
||||
|
||||
Reference in new issue
Block a user