diff options
| author | Brett Cannon <brett@python.org> | 2022-04-26 17:45:08 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-26 17:45:08 (GMT) |
| commit | 1af871eeee4a01cc21a6960d087e9ab8ce4c9f4d (patch) | |
| tree | d3f628ac343850c66c60a5c6a0cc92e059f7dc0c /Lib/telnetlib.py | |
| parent | 4153f2cbcb41a1a9057bfba28d5f65d48ea39283 (diff) | |
| download | cpython-1af871eeee4a01cc21a6960d087e9ab8ce4c9f4d.zip cpython-1af871eeee4a01cc21a6960d087e9ab8ce4c9f4d.tar.gz cpython-1af871eeee4a01cc21a6960d087e9ab8ce4c9f4d.tar.bz2 | |
gh-91217: deprecate telnetlib (GH-91958)
Diffstat (limited to 'Lib/telnetlib.py')
| -rw-r--r-- | Lib/telnetlib.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/telnetlib.py b/Lib/telnetlib.py index ae88ea5..62d6361 100644 --- a/Lib/telnetlib.py +++ b/Lib/telnetlib.py @@ -37,6 +37,9 @@ import sys import socket import selectors from time import monotonic as _time +import warnings + +warnings._deprecated(__name__, remove=(3, 13)) __all__ = ["Telnet"] |
