diff options
Diffstat (limited to 'Lib/cProfile.py')
-rwxr-xr-x | Lib/cProfile.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Lib/cProfile.py b/Lib/cProfile.py index 3e924ba28a1..c24d45bab47 100755 --- a/Lib/cProfile.py +++ b/Lib/cProfile.py @@ -1,10 +1,10 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Python interface for the 'lsprof' profiler. Compatible with the 'profile' module. """ -__all__ = ["run", "runctx", "help", "Profile"] +__all__ = ["run", "runctx", "Profile"] import _lsprof @@ -56,11 +56,6 @@ def runctx(statement, globals, locals, filename=None, sort=-1): result = prof.print_stats(sort) 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): |