commit | 42b1d6127bd8595522a78a75166ebb9fba74a6a2 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Thu Dec 06 22:36:55 2018 +0200 |
committer | GitHub <noreply@github.com> | Thu Dec 06 22:36:55 2018 +0200 |
tree | f6ea667c159c1666d08ad9e81621bdca6f373637 | |
parent | 20428527a7c188d988d20b267cfef58da10b0fc9 [diff] [blame] |
bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934)
diff --git a/Lib/ssl.py b/Lib/ssl.py index 8f6d402..e6e3a6d 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py
@@ -884,8 +884,8 @@ 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