2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-21 05:02:17 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Beman Dawes
bf05bdc0c3 Release 1.48.0 beta 1
[SVN r75132]
2011-10-27 15:04:52 +00:00

View File

@@ -4,16 +4,12 @@
# http://www.boost.org/LICENSE_1_0.txt)
from declarations import *
# try to use cElementTree if avaiable
try:
# try to use internal elementtree
from xml.etree.cElementTree import ElementTree
from cElementTree import ElementTree
except ImportError:
# try to use cElementTree if avaiable
try:
from cElementTree import ElementTree
except ImportError:
# fall back to the normal elementtree
from elementtree.ElementTree import ElementTree
# fall back to the normal elementtree
from elementtree.ElementTree import ElementTree
from xml.parsers.expat import ExpatError
from copy import deepcopy
from utils import enumerate