summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.org>2017-05-27 16:50:51 -0400
committerKenneth Reitz <me@kennethreitz.org>2017-05-27 16:50:51 -0400
commitbf4a813304cc17b4ed4c4e4178024303c530fb0d (patch)
tree0f191589f390149be98faa9e70ec9025f78e5316
parent6d082ea9724a6dc75d14c08ebe3d4f4ac7b6610f (diff)
downloadpython-requests-bf4a813304cc17b4ed4c4e4178024303c530fb0d.tar.gz
rename information/infohelp
-rw-r--r--requests/help.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/requests/help.py b/requests/help.py
index 779c7ddc..0412a94b 100644
--- a/requests/help.py
+++ b/requests/help.py
@@ -55,7 +55,7 @@ def _implementation():
return {'name': implementation, 'version': implementation_version}
-def information():
+def info():
"""Generate information for a bug report."""
try:
platform_info = {
@@ -103,7 +103,7 @@ def information():
def main():
"""Pretty-print the bug information as JSON."""
- print(json.dumps(information(), sort_keys=True, indent=2))
+ print(json.dumps(info(), sort_keys=True, indent=2))
if __name__ == '__main__':
main()