diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-02-15 19:20:50 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-02-15 19:20:50 (GMT) |
commit | 23e043fdcd52c2bdcde40b07f21e56ab8a956cff (patch) | |
tree | 3ff128247bc1c69e3ad4e97f6730ca8b14a9b277 /Lib/trace.py | |
parent | 3a03d2eaef63955c9f1c74a13f0e4fb791a7f42d (diff) | |
download | cpython-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.py | 1 |
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: |