summaryrefslogtreecommitdiff
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-12-06 22:36:55 +0200
committerGitHub <noreply@github.com>2018-12-06 22:36:55 +0200
commit42b1d6127bd8595522a78a75166ebb9fba74a6a2 (patch)
treef6ea667c159c1666d08ad9e81621bdca6f373637 /Lib/ssl.py
parent20428527a7c188d988d20b267cfef58da10b0fc9 (diff)
downloadcpython-git-42b1d6127bd8595522a78a75166ebb9fba74a6a2.tar.gz
bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934)
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index 8f6d402209..e6e3a6d0fa 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -884,8 +884,8 @@ class SSLSocket(socket):
return self._sslobj.session_reused
def dup(self):
- raise NotImplemented("Can't dup() %s instances" %
- self.__class__.__name__)
+ raise NotImplementedError("Can't dup() %s instances" %
+ self.__class__.__name__)
def _checkClosed(self, msg=None):
# raise an exception here if you wish to check for spurious closes