diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-12-06 20:52:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 20:52:43 (GMT) |
commit | 6485aa6eb1024672f08afdd577e2b5792eb6b03c (patch) | |
tree | 56d314bba51eb6f4305f401a9b1633bc26bc16dc /Lib/ssl.py | |
parent | 560fa4db17983ce37c1453c057901c627b2c3abc (diff) | |
download | cpython-6485aa6eb1024672f08afdd577e2b5792eb6b03c.zip cpython-6485aa6eb1024672f08afdd577e2b5792eb6b03c.tar.gz cpython-6485aa6eb1024672f08afdd577e2b5792eb6b03c.tar.bz2 |
bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934)
(cherry picked from commit 42b1d6127bd8595522a78a75166ebb9fba74a6a2)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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 |