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
a94f6762
Kaydet (Commit)
a94f6762
authored
Agu 05, 1999
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add index entry "I/O control, buffering" for makefile().
üst
933c91eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
libsocket.tex
Doc/lib/libsocket.tex
+4
-3
No files found.
Doc/lib/libsocket.tex
Dosyayı görüntüle @
a94f6762
...
...
@@ -199,7 +199,7 @@ This is a Python type object that represents the socket object type.
It is the same as
\code
{
type(socket(...))
}
.
\end{datadesc}
\subsection
{
Socket Objects
}
\subsection
{
Socket Objects
\label
{
socket-objects
}
}
Socket objects have the following methods. Except for
\method
{
makefile()
}
these correspond to
\UNIX
{}
system calls
...
...
@@ -279,10 +279,11 @@ least 1; the maximum value is system-dependent (usually 5).
\begin{methoddesc}
[socket]
{
makefile
}{
\optional
{
mode
\optional
{
, bufsize
}}}
Return a
\dfn
{
file object
}
associated with the socket. (File objects
were described earlier
in
\ref
{
bltin-file-objects
}
, ``File Objects.'')
are described
in
\ref
{
bltin-file-objects
}
, ``File Objects.'')
The file object references a
\cfunction
{
dup()
}
ped version of the
socket file descriptor, so the file object and socket object may be
closed or garbage-collected independently. The optional
\var
{
mode
}
closed or garbage-collected independently.
\index
{
I/O control!buffering
}
The optional
\var
{
mode
}
and
\var
{
bufsize
}
arguments are interpreted the same way as by the
built-in
\function
{
open()
}
function.
\end{methoddesc}
...
...
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