Skip to content

Commit 8b9f63f

Browse files
committed
Adding socket.timeout
1 parent aa4d9e2 commit 8b9f63f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

graalpython/lib-graalpython/_socket.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949

5050
has_ipv6 = False #: TODO implement me
5151
error = OSError
52+
53+
class timeout(OSError):
54+
pass
55+
5256
__default_timeout = None
5357

5458
def getdefaulttimeout():

0 commit comments

Comments
 (0)