summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-24 09:05:53 (GMT)
committerGitHub <noreply@github.com>2022-06-24 09:05:53 (GMT)
commitd435a18c537a62a89a70005885e6e09f58997d8a (patch)
treee75b29c5d7932475dc06e9c6eed13b8d47dabdb4 /Lib/ssl.py
parent6e33ba114ffb47505fec59674c5cce5eb6476f76 (diff)
downloadcpython-d435a18c537a62a89a70005885e6e09f58997d8a.zip
cpython-d435a18c537a62a89a70005885e6e09f58997d8a.tar.gz
cpython-d435a18c537a62a89a70005885e6e09f58997d8a.tar.bz2
gh-94199: Remove ssl.RAND_pseudo_bytes() function (#94202)
Remove the ssl.RAND_pseudo_bytes() function, deprecated in Python 3.6: use os.urandom() or ssl.RAND_bytes() instead.
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index ebac1d6..7c99041 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -106,7 +106,7 @@ from _ssl import (
SSLSyscallError, SSLEOFError, SSLCertVerificationError
)
from _ssl import txt2obj as _txt2obj, nid2obj as _nid2obj
-from _ssl import RAND_status, RAND_add, RAND_bytes, RAND_pseudo_bytes
+from _ssl import RAND_status, RAND_add, RAND_bytes
try:
from _ssl import RAND_egd
except ImportError: