☰
Debian Codegraph
@
1:0.4.10+ds1-2
1:0.4.10+ds1-1
/
/
mechanize
/
_sockettimeout.py
☽
☼
mechanize/_sockettimeout.py
code
plain
raw
symbols
SCIP
BSD-3-clause-like
Copyright (C) 2008-2017 Kovid Goyal, John J Lee, Gisle Aas, Johnny Lee, Andy Lester
debian/copyright
1
from
__future__
import
absolute_import
2
import
socket
3
4
try
:
5
_GLOBAL_DEFAULT_TIMEOUT = socket.
_GLOBAL_DEFAULT_TIMEOUT
6
except
AttributeError
:
7
_GLOBAL_DEFAULT_TIMEOUT =
object
()