source:
py-scraping/mechanize/_sockettimeout.py@
189
Last change on this file since 189 was 106, checked in by , 15 years ago | |
---|---|
File size: 143 bytes |
Line | |
---|---|
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.