diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-12-06 20:36:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 20:36:55 (GMT) |
commit | 42b1d6127bd8595522a78a75166ebb9fba74a6a2 (patch) | |
tree | f6ea667c159c1666d08ad9e81621bdca6f373637 /Lib/ssl.py | |
parent | 20428527a7c188d988d20b267cfef58da10b0fc9 (diff) | |
download | cpython-42b1d6127bd8595522a78a75166ebb9fba74a6a2.zip cpython-42b1d6127bd8595522a78a75166ebb9fba74a6a2.tar.gz cpython-42b1d6127bd8595522a78a75166ebb9fba74a6a2.tar.bz2 |
bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934)
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r-- | Lib/ssl.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |