You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			20 lines
		
	
	
		
			305 B
		
	
	
	
		
			Python
		
	
			
		
		
	
	
			20 lines
		
	
	
		
			305 B
		
	
	
	
		
			Python
		
	
"""
 | 
						|
Replacement module for what html5lib uses six for.
 | 
						|
"""
 | 
						|
 | 
						|
import http.client
 | 
						|
import operator
 | 
						|
import urllib
 | 
						|
 | 
						|
 | 
						|
PY3 = True
 | 
						|
binary_type = bytes
 | 
						|
string_types = (str,)
 | 
						|
text_type = str
 | 
						|
unichr = chr
 | 
						|
viewkeys = operator.methodcaller("keys")
 | 
						|
 | 
						|
http_client = http.client
 | 
						|
urllib = urllib
 | 
						|
urllib_parse = urllib.parse
 |