Skip to content
Myr

rename information/info

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 6d082ea · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/help.py+2 added-2 removed
53 unmodified lines
5455 return {'name': implementation, 'version': implementation_version}565758def information():58def info():59 """Generate information for a bug report."""60 try:61 platform_info = {62 'system': platform.system(),
39 unmodified lines
102 }103104def main():105 """Pretty-print the bug information as JSON."""106 print(json.dumps(information(), sort_keys=True, indent=2))106 print(json.dumps(info(), sort_keys=True, indent=2))107108if __name__ == '__main__':109 main()110