Commit 8158da72 authored by Denis Bilenko's avatar Denis Bilenko

socket: don't accept arguments in dup()

parent d33d6fba
......@@ -341,7 +341,7 @@ class socket(object):
else:
raise # gaierror is not silented by connect_ex
def dup(self, *args, **kw):
def dup(self):
"""dup() -> socket object
Return a new socket object connected to the same system resource."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment