summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-06-03 02:28:42 (GMT)
committerBrett Cannon <brett@python.org>2012-06-03 02:28:42 (GMT)
commit2b88fcf693f14d3044929a24a5a66f45107eda23 (patch)
treed9d8d59e1e599f48d3de5d2f63188624b05ad575
parent361baaddcf11b3d51430491fba86a41c19d0d76f (diff)
downloadcpython-2b88fcf693f14d3044929a24a5a66f45107eda23.zip
cpython-2b88fcf693f14d3044929a24a5a66f45107eda23.tar.gz
cpython-2b88fcf693f14d3044929a24a5a66f45107eda23.tar.bz2
Issue #14987: Add a missing import statement
-rw-r--r--Lib/inspect.py1
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 56d05fb..c3338f24 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -38,6 +38,7 @@ import re
import sys
import tokenize
import types
+import warnings
from operator import attrgetter
from collections import namedtuple
diff --git a/Misc/NEWS b/Misc/NEWS
index 3bdff8b..b746969 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,8 @@ What's New in Python 3.3.0 Beta 1?
Library
-------
+- Issue #14987: Add a missing import statement to inspect.
+
- Issue #1079: email.header.decode_header now correctly parses all the examples
in RFC2047. There is a necessary visible behavior change: the leading and/or
trailing whitespace on ASCII parts is now preserved.