From 0f6a38ee54362ae2e4f5f294f26942261d61485e Mon Sep 17 00:00:00 2001 From: Matus Valo Date: Tue, 29 Jun 2021 06:16:48 +0200 Subject: [PATCH] Fix deprecated methods from #4620 --- pylint/checkers/stdlib.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py index 13a22d1db5..ca8fa4982b 100644 --- a/pylint/checkers/stdlib.py +++ b/pylint/checkers/stdlib.py @@ -202,9 +202,7 @@ }, (3, 6, 0): { "importlib._bootstrap_external.FileLoader.load_module", - "ssl.RAND_pseudo_bytes", - "ssl.SSLSocket.read", - "SSLSocket.write", + "_ssl.RAND_pseudo_bytes", }, (3, 7, 0): { "sys.set_coroutine_wrapper", @@ -241,8 +239,6 @@ "zipimport.zipimporter.load_module", "zipimport.zipimporter.find_module", "zipimport.zipimporter.find_loader", - "sqlite3.enable_shared_cache", - "pathlib.Path.link_to", "threading.currentThread", "threading.activeCount", "threading.Condition.notifyAll", @@ -252,7 +248,6 @@ "threading.Thread.isDaemon", "threading.Thread.setDaemon", "cgi.log", - "SSLSocket.selected_npn_protocol", }, }, }