summaryrefslogtreecommitdiffstats
path: root/Lib/nntplib.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-12-10 10:07:42 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-12-10 10:07:42 (GMT)
commit67317750aff37489fd3fa279413ef20450e7c808 (patch)
treede83b05031484f7aad83149092c1ce9318b5ec3d /Lib/nntplib.py
parent720682efd1a98dcd70a829c2a06f5fd07638af26 (diff)
downloadcpython-67317750aff37489fd3fa279413ef20450e7c808.zip
cpython-67317750aff37489fd3fa279413ef20450e7c808.tar.gz
cpython-67317750aff37489fd3fa279413ef20450e7c808.tar.bz2
Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd).
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r--Lib/nntplib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py
index 3e863dc..19a462d 100644
--- a/Lib/nntplib.py
+++ b/Lib/nntplib.py
@@ -828,7 +828,7 @@ class _NNTPBase:
- list: list of (name,title) strings"""
warnings.warn("The XGTITLE extension is not actively used, "
"use descriptions() instead",
- PendingDeprecationWarning, 2)
+ DeprecationWarning, 2)
line_pat = re.compile('^([^ \t]+)[ \t]+(.*)$')
resp, raw_lines = self._longcmdstring('XGTITLE ' + group, file)
lines = []
@@ -846,7 +846,7 @@ class _NNTPBase:
path: directory path to article
"""
warnings.warn("The XPATH extension is not actively used",
- PendingDeprecationWarning, 2)
+ DeprecationWarning, 2)
resp = self._shortcmd('XPATH {0}'.format(id))
if not resp.startswith('223'):