diff options
author | Kenneth Reitz <me@kennethreitz.org> | 2017-05-27 16:50:51 -0400 |
---|---|---|
committer | Kenneth Reitz <me@kennethreitz.org> | 2017-05-27 16:50:51 -0400 |
commit | bf4a813304cc17b4ed4c4e4178024303c530fb0d (patch) | |
tree | 0f191589f390149be98faa9e70ec9025f78e5316 /requests/help.py | |
parent | 6d082ea9724a6dc75d14c08ebe3d4f4ac7b6610f (diff) | |
download | python-requests-help.tar.gz |
rename information/infohelp
Diffstat (limited to 'requests/help.py')
-rw-r--r-- | requests/help.py | 4 |
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() |