[Python-checkins] cpython (3.2): Prevent deprecation warning
eric.araujo
python-checkins at python.org
Wed Apr 27 16:37:55 CEST 2011
http://hg.python.org/cpython/rev/c9792d3166eb
changeset: 69604:c9792d3166eb
branch: 3.2
parent: 69392:2596389a993d
user: Éric Araujo <merwok at netwok.org>
date: Sun Apr 17 16:48:52 2011 +0200
summary:
Prevent deprecation warning
files:
Lib/trace.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/trace.py b/Lib/trace.py
--- a/Lib/trace.py
+++ b/Lib/trace.py
@@ -688,7 +688,7 @@
for opt, val in opts:
if opt == "--help":
- usage(sys.stdout)
+ _usage(sys.stdout)
sys.exit(0)
if opt == "--version":
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list