We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a2ec5c commit cf53a47Copy full SHA for cf53a47
bleach/six_shim.py
@@ -0,0 +1,19 @@
1
+"""
2
+Replacement module for what html5lib uses six for.
3
4
+
5
+import http.client
6
+import operator
7
+import urllib
8
9
10
+PY3 = True
11
+binary_type = bytes
12
+string_types = (str,)
13
+text_type = str
14
+unichr = chr
15
+viewkeys = operator.methodcaller("keys")
16
17
+http_client = http.client
18
+urllib = urllib
19
+urllib_parse = urllib.parse
setup.py
@@ -25,7 +25,6 @@ def get_version():
25
26
INSTALL_REQUIRES = [
27
# html5lib requirements
28
- "six>=1.9.0",
29
"webencodings",
30
]
31
0 commit comments