]> granicus.if.org Git - python/commitdiff
closes bpo-37566: Remove _realsocket from socket.py. (GH-14711)
authorHai Shi <shihai1992@gmail.com>
Fri, 12 Jul 2019 02:17:53 +0000 (21:17 -0500)
committerBenjamin Peterson <benjamin@python.org>
Fri, 12 Jul 2019 02:17:52 +0000 (19:17 -0700)
Lib/socket.py

index 0dd8ec70e168aa33790be665ed9ea4617fb8e65b..3016b03104d45f6ff3ce646e5eb401b9a4f7748c 100644 (file)
@@ -104,8 +104,6 @@ def _intenum_converter(value, enum_klass):
     except ValueError:
         return value
 
-_realsocket = socket
-
 # WSA error codes
 if sys.platform.lower().startswith("win"):
     errorTab = {}