summaryrefslogtreecommitdiffstats
path: root/Lib/trace.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-02-15 19:20:50 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-02-15 19:20:50 (GMT)
commit23e043fdcd52c2bdcde40b07f21e56ab8a956cff (patch)
tree3ff128247bc1c69e3ad4e97f6730ca8b14a9b277 /Lib/trace.py
parent3a03d2eaef63955c9f1c74a13f0e4fb791a7f42d (diff)
downloadcpython-23e043fdcd52c2bdcde40b07f21e56ab8a956cff.zip
cpython-23e043fdcd52c2bdcde40b07f21e56ab8a956cff.tar.gz
cpython-23e043fdcd52c2bdcde40b07f21e56ab8a956cff.tar.bz2
#17143: fix a missing import in the trace module. Initial patch by Berker Peksag.
Diffstat (limited to 'Lib/trace.py')
-rw-r--r--Lib/trace.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/trace.py b/Lib/trace.py
index 317b5fd..c09b365 100644
--- a/Lib/trace.py
+++ b/Lib/trace.py
@@ -58,6 +58,7 @@ import inspect
import gc
import dis
import pickle
+from warnings import warn as _warn
try:
from time import monotonic as _time
except ImportError: