aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Twisted/py3/twisted/mail/pop3client.py
diff options
context:
space:
mode:
authorshmel1k <shmel1k@ydb.tech>2023-11-26 18:16:14 +0300
committershmel1k <shmel1k@ydb.tech>2023-11-26 18:43:30 +0300
commitb8cf9e88f4c5c64d9406af533d8948deb050d695 (patch)
tree218eb61fb3c3b96ec08b4d8cdfef383104a87d63 /contrib/python/Twisted/py3/twisted/mail/pop3client.py
parent523f645a83a0ec97a0332dbc3863bb354c92a328 (diff)
downloadydb-b8cf9e88f4c5c64d9406af533d8948deb050d695.tar.gz
add kikimr_configure
Diffstat (limited to 'contrib/python/Twisted/py3/twisted/mail/pop3client.py')
-rw-r--r--contrib/python/Twisted/py3/twisted/mail/pop3client.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/python/Twisted/py3/twisted/mail/pop3client.py b/contrib/python/Twisted/py3/twisted/mail/pop3client.py
new file mode 100644
index 0000000000..72676a69a8
--- /dev/null
+++ b/contrib/python/Twisted/py3/twisted/mail/pop3client.py
@@ -0,0 +1,22 @@
+"""
+Deprecated POP3 client protocol implementation.
+
+Don't use this module directly. Use twisted.mail.pop3 instead.
+"""
+import warnings
+from typing import List
+
+from twisted.mail._pop3client import ERR, OK, POP3Client
+
+warnings.warn(
+ "twisted.mail.pop3client was deprecated in Twisted 21.2.0. Use twisted.mail.pop3 instead.",
+ DeprecationWarning,
+ stacklevel=2,
+)
+
+# Fake usage to please pyflakes as we don't to add them to __all__.
+OK
+ERR
+POP3Client
+
+__all__: List[str] = []