source: py-scraping/mechanize/_sockettimeout.py@ 208

Last change on this file since 208 was 106, checked in by Rick van der Zwet, 15 years ago

Initial commit...

File size: 143 bytes
Line 
1import socket
2
3try:
4 _GLOBAL_DEFAULT_TIMEOUT = socket._GLOBAL_DEFAULT_TIMEOUT
5except AttributeError:
6 _GLOBAL_DEFAULT_TIMEOUT = object()
Note: See TracBrowser for help on using the repository browser.