diff options
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/cProfile.py | 5 | ||||
-rwxr-xr-x | Lib/profile.py | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/Lib/cProfile.py b/Lib/cProfile.py index 5d04341..bacfef8 100755 --- a/Lib/cProfile.py +++ b/Lib/cProfile.py @@ -56,11 +56,6 @@ def runctx(statement, globals, locals, filename=None): result = prof.print_stats() return result -# Backwards compatibility. -def help(): - print("Documentation for the profile/cProfile modules can be found ") - print("in the Python Library Reference, section 'The Python Profiler'.") - # ____________________________________________________________ class Profile(_lsprof.Profiler): diff --git a/Lib/profile.py b/Lib/profile.py index cdc2479..5120047 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -92,11 +92,6 @@ def runctx(statement, globals, locals, filename=None): else: return prof.print_stats() -# Backwards compatibility. -def help(): - print("Documentation for the profile module can be found ") - print("in the Python Library Reference, section 'The Python Profiler'.") - if os.name == "mac": import MacOS def _get_time_mac(timer=MacOS.GetTicks): @@ -588,8 +583,6 @@ class Profile: return mean #**************************************************************************** -def Stats(*args): - print('Report generating functions are in the "pstats" module\a') def main(): usage = "profile.py [-o output_file_path] [-s sort] scriptfile [arg] ..." |