mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix Python 2.6 incompatibility introduced in 4e77027
.
This commit is contained in:
parent
a9323e6f59
commit
f5ae89af15
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user