From bf4a813304cc17b4ed4c4e4178024303c530fb0d Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 27 May 2017 16:50:51 -0400 Subject: [PATCH] rename information/info --- requests/help.py | 4 ++-- 1 file 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()