source:
py-scraping/mechanize/_sockettimeout.py@
161
Last change on this file since 161 was 106, checked in by , 15 years ago | |
---|---|
File size: 143 bytes |
Rev | Line | |
---|---|---|
[106] | 1 | import socket |
2 | ||
3 | try: | |
4 | _GLOBAL_DEFAULT_TIMEOUT = socket._GLOBAL_DEFAULT_TIMEOUT | |
5 | except AttributeError: | |
6 | _GLOBAL_DEFAULT_TIMEOUT = object() |
Note:
See TracBrowser
for help on using the repository browser.