summaryrefslogtreecommitdiff
path: root/src/lxml/ElementInclude.py
diff options
context:
space:
mode:
authorJakub Wilk <jwilk@jwilk.net>2017-03-17 20:39:38 +0100
committerJakub Wilk <jwilk@jwilk.net>2017-03-17 21:53:41 +0100
commit728127054d2ff8937b64b1479b26bb4a113c0091 (patch)
tree91a519ddb41eca8eec6f3d6e4ec00f471505e0c3 /src/lxml/ElementInclude.py
parentdecc2f0ee4dbf3223f1005f97de110d2ed0d1b44 (diff)
downloadpython-lxml-728127054d2ff8937b64b1479b26bb4a113c0091.tar.gz
remove conditional imports of the set module
These were needed for Python 2.3, which is no longer supported.
Diffstat (limited to 'src/lxml/ElementInclude.py')
-rw-r--r--src/lxml/ElementInclude.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lxml/ElementInclude.py b/src/lxml/ElementInclude.py
index f7806709..ab2ee879 100644
--- a/src/lxml/ElementInclude.py
+++ b/src/lxml/ElementInclude.py
@@ -60,12 +60,6 @@ except ImportError:
from urllib.parse import urljoin
from urllib.request import urlopen
-try:
- set
-except NameError:
- # Python 2.3
- from sets import Set as set
-
XINCLUDE = "{http://www.w3.org/2001/XInclude}"
XINCLUDE_INCLUDE = XINCLUDE + "include"