diff options
author | Matus Valo <matusvalo@gmail.com> | 2021-06-29 06:16:48 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-06-29 23:10:12 +0200 |
commit | 0f6a38ee54362ae2e4f5f294f26942261d61485e (patch) | |
tree | 62c621a26a3a86ed795ab36740546d9aa0ccc33a | |
parent | 52027cbde2b59f49667af14baaf9b31b13e34b63 (diff) | |
download | pylint-git-0f6a38ee54362ae2e4f5f294f26942261d61485e.tar.gz |
Fix deprecated methods from #4620
-rw-r--r-- | pylint/checkers/stdlib.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py index 13a22d1db..ca8fa4982 100644 --- a/pylint/checkers/stdlib.py +++ b/pylint/checkers/stdlib.py @@ -202,9 +202,7 @@ DEPRECATED_METHODS = { }, (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 @@ DEPRECATED_METHODS = { "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 @@ DEPRECATED_METHODS = { "threading.Thread.isDaemon", "threading.Thread.setDaemon", "cgi.log", - "SSLSocket.selected_npn_protocol", }, }, } |