We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9953597 commit 95ef76fCopy full SHA for 95ef76f
Lib/nntplib.py
@@ -68,6 +68,7 @@
68
import collections
69
import datetime
70
import sys
71
+import warnings
72
73
try:
74
import ssl
@@ -85,6 +86,8 @@
85
86
"decode_header",
87
]
88
89
+warnings._deprecated(__name__, remove=(3, 13))
90
+
91
# maximal line length when calling readline(). This is to prevent
92
# reading arbitrary length lines. RFC 3977 limits NNTP line length to
93
# 512 characters, including CRLF. We have selected 2048 just to be on
0 commit comments