Find Cheaper University Textbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
312 B

import sys
PY2 = sys.version_info[0] == 2
if PY2:
string_types = basestring,
from urllib import quote_plus, urlencode
from urlparse import urlparse
from itertools import imap as map
else:
string_types = str, bytes
from urllib.parse import quote_plus, urlencode, urlparse
map = map