Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2a403e8a
Commit
2a403e8a
authored
Mar 20, 2003
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add descriptions of {get,set}defaulttimeout.
parent
5c7b2487
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
Doc/lib/libsocket.tex
Doc/lib/libsocket.tex
+14
-0
No files found.
Doc/lib/libsocket.tex
View file @
2a403e8a
...
...
@@ -349,6 +349,20 @@ length, \exception{socket.error} will be raised.
support.
\end{funcdesc}
\begin{funcdesc}
{
getdefaulttimeout
}{}
Return the default timeout in floating seconds for new socket objects.
A value of
\code
{
None
}
indicates that new socket objects have no timeout.
When the socket module is first imported, the default is
\code
{
None
}
.
\versionadded
{
2.3
}
\end{funcdesc}
\begin{funcdesc}
{
setdefaulttimeout
}{
timeout
}
Set the default timeout in floating seconds for new socket objects.
A value of
\code
{
None
}
indicates that new socket objects have no timeout.
When the socket module is first imported, the default is
\code
{
None
}
.
\versionadded
{
2.3
}
\end{funcdesc}
\begin{datadesc}
{
SocketType
}
This is a Python type object that represents the socket object type.
It is the same as
\code
{
type(socket(...))
}
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment