summaryrefslogtreecommitdiffstats
path: root/Lib/asyncore.py
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-03-18 19:45:37 (GMT)
committerGitHub <noreply@github.com>2022-03-18 19:45:37 (GMT)
commit77473846439b8a3eae66de1a1cfe931619f38513 (patch)
tree3caee09cfda1b27a87da7dcd1df553c3873595fb /Lib/asyncore.py
parent3a2b89580ded72262fbea0f7ad24096a90c42b9c (diff)
downloadcpython-77473846439b8a3eae66de1a1cfe931619f38513.zip
cpython-77473846439b8a3eae66de1a1cfe931619f38513.tar.gz
cpython-77473846439b8a3eae66de1a1cfe931619f38513.tar.bz2
bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891)
Document the deprecation of asyncore, asynchat, and smtpd with a slated removal in Python 3.12 thanks to PEP 594.
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r--Lib/asyncore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index b1eea4b..a360d40 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -58,7 +58,7 @@ from errno import EALREADY, EINPROGRESS, EWOULDBLOCK, ECONNRESET, EINVAL, \
errorcode
warnings.warn(
- 'The asyncore module is deprecated. '
+ 'The asyncore module is deprecated and will be removed in Python 3.12. '
'The recommended replacement is asyncio',
DeprecationWarning,
stacklevel=2)