Commit 52819733 authored by Denis Bilenko's avatar Denis Bilenko

socket: remove deprecated socket.fd property

parent 9e32fb9d
......@@ -246,12 +246,6 @@ class socket(object):
result += ' timeout=' + str(self.timeout)
return result
@property
def fd(self):
import warnings
warnings.warn("socket.fd is deprecated; use socket._sock", DeprecationWarning, stacklevel=2)
return self._sock
def accept(self):
while True:
try:
......
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