summaryrefslogtreecommitdiffstats
path: root/Lib/profile.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-04 08:09:32 (GMT)
committerGeorg Brandl <georg@python.org>2009-09-04 08:09:32 (GMT)
commit85477afcb619e30bbe380d018ad4bc3844a04ceb (patch)
treef232d4a6264b3aaae06f5e72ac20b742d77d730b /Lib/profile.py
parent395ed245893fafd75f4402ab4cb6f67a2c9a686a (diff)
downloadcpython-85477afcb619e30bbe380d018ad4bc3844a04ceb.zip
cpython-85477afcb619e30bbe380d018ad4bc3844a04ceb.tar.gz
cpython-85477afcb619e30bbe380d018ad4bc3844a04ceb.tar.bz2
Remove backwards compatibility stuff from profile/cProfile.
Diffstat (limited to 'Lib/profile.py')
-rwxr-xr-xLib/profile.py7
1 files changed, 0 insertions, 7 deletions
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] ..."