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

Last change on this file since 209 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.