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

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

Initial commit...

File size: 143 bytes
RevLine 
[106]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.