3 ms·
>>> import socket >>> issubclass(socket.error, Exception) True It's been like this since Python 2.4 at least.
by jwilk 10y ago
>>> import socket
>>> issubclass(socket.error, Exception)
True
It's been like this since Python 2.4 at least.
- mypalmike 10y agoI stand corrected. Well, partly. Looks like it was changed in 2.6. https://docs.python.org/2/library/socket.html#socket.error https://docs.python.org/2/library/socket.html#socket.error