wolframalpha/compat.py
def fix_HTTPMessage():
	"""
	Python 2 uses a deprecated method signature and doesn't provide the
	forward compatibility.
	Add it.
	"""
	if six.PY3:
		return

	http_client.HTTPMessage.get_content_type = http_client.HTTPMessage.gettype
	http_client.HTTPMessage.get_param = http_client.HTTPMessage.getparam
def fix_HTTPMessage():
	"""
	Python 2 uses a deprecated method signature and doesn't provide the
	forward compatibility.
	Add it.
	"""
	if six.PY3:
		return

	http_client.HTTPMessage.get_content_type = http_client.HTTPMessage.gettype
	http_client.HTTPMessage.get_param = http_client.HTTPMessage.getparam
Python 2 uses a deprecated method signature and doesn't provide the
	forward compatibility.
	Add it.