Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
2a403e8a
Kaydet (Commit)
2a403e8a
authored
Mar 20, 2003
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add descriptions of {get,set}defaulttimeout.
üst
5c7b2487
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
libsocket.tex
Doc/lib/libsocket.tex
+14
-0
No files found.
Doc/lib/libsocket.tex
Dosyayı görüntüle @
2a403e8a
...
@@ -349,6 +349,20 @@ length, \exception{socket.error} will be raised.
...
@@ -349,6 +349,20 @@ length, \exception{socket.error} will be raised.
support.
support.
\end{funcdesc}
\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
}
\begin{datadesc}
{
SocketType
}
This is a Python type object that represents the socket object type.
This is a Python type object that represents the socket object type.
It is the same as
\code
{
type(socket(...))
}
.
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