[Python-checkins] cpython: Issue #14987: Add a missing import statement

brett.cannon python-checkins at python.org
Sun Jun 3 04:28:49 CEST 2012


http://hg.python.org/cpython/rev/3de5b053d924
changeset:   77312:3de5b053d924
user:        Brett Cannon <brett at python.org>
date:        Sat Jun 02 22:28:42 2012 -0400
summary:
  Issue #14987: Add a missing import statement

files:
  Lib/inspect.py |  1 +
  Misc/NEWS      |  2 ++
  2 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/inspect.py b/Lib/inspect.py
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -38,6 +38,7 @@
 import sys
 import tokenize
 import types
+import warnings
 from operator import attrgetter
 from collections import namedtuple
 
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,8 @@
 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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list