diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2011-12-10 11:07:42 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2011-12-10 11:07:42 +0100 |
commit | 67317750aff37489fd3fa279413ef20450e7c808 (patch) | |
tree | de83b05031484f7aad83149092c1ce9318b5ec3d /Lib/importlib/abc.py | |
parent | 720682efd1a98dcd70a829c2a06f5fd07638af26 (diff) | |
download | cpython-git-67317750aff37489fd3fa279413ef20450e7c808.tar.gz |
Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd).
Diffstat (limited to 'Lib/importlib/abc.py')
-rw-r--r-- | Lib/importlib/abc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/abc.py b/Lib/importlib/abc.py index fa343f85a4..df8cd93634 100644 --- a/Lib/importlib/abc.py +++ b/Lib/importlib/abc.py @@ -195,7 +195,7 @@ class PyLoader(SourceLoader): "use SourceLoader instead. " "See the importlib documentation on how to be " "compatible with Python 3.1 onwards.", - PendingDeprecationWarning) + DeprecationWarning) path = self.source_path(fullname) if path is None: raise ImportError @@ -234,7 +234,7 @@ class PyPycLoader(PyLoader): "removal in Python 3.4; use SourceLoader instead. " "If Python 3.1 compatibility is required, see the " "latest documentation for PyLoader.", - PendingDeprecationWarning) + DeprecationWarning) source_timestamp = self.source_mtime(fullname) # Try to use bytecode if it is available. bytecode_path = self.bytecode_path(fullname) |