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

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