summaryrefslogtreecommitdiff
path: root/Lib/xdrlib.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2022-04-29 18:22:10 -0700
committerGitHub <noreply@github.com>2022-04-29 18:22:10 -0700
commitc2b579741dc36f4b7da00d4361d651544996d8f4 (patch)
tree00a35a32af2cd12ce9b140a9fe31310a7aee4f0c /Lib/xdrlib.py
parent7861a9e3276cf9bf2bfa56d86f29ef06b2456f87 (diff)
downloadcpython-git-c2b579741dc36f4b7da00d4361d651544996d8f4.tar.gz
gh-91217: deprecate xdrlib (GH-92066)
Automerge-Triggered-By: GH:brettcannon
Diffstat (limited to 'Lib/xdrlib.py')
-rw-r--r--Lib/xdrlib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/xdrlib.py b/Lib/xdrlib.py
index d6e1aeb527..b56ffa59b7 100644
--- a/Lib/xdrlib.py
+++ b/Lib/xdrlib.py
@@ -7,6 +7,9 @@ See: RFC 1014
import struct
from io import BytesIO
from functools import wraps
+import warnings
+
+warnings._deprecated(__name__, remove=(3, 13))
__all__ = ["Error", "Packer", "Unpacker", "ConversionError"]