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
e8bbfe4e
Kaydet (Commit)
e8bbfe4e
authored
Agu 26, 2004
tarafından
Dave Cole
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #1015012. Improve markup and punctuation in libsocket.tex
üst
3203efb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
libsocket.tex
Doc/lib/libsocket.tex
+3
-3
socketmodule.c
Modules/socketmodule.c
+2
-2
No files found.
Doc/lib/libsocket.tex
Dosyayı görüntüle @
e8bbfe4e
...
@@ -305,10 +305,10 @@ success, a new \class{SSLObject} is returned.
...
@@ -305,10 +305,10 @@ success, a new \class{SSLObject} is returned.
\begin{funcdesc}
{
socketpair
}{
\optional
{
family
\optional
{
, type
\optional
{
, proto
}}}}
\begin{funcdesc}
{
socketpair
}{
\optional
{
family
\optional
{
, type
\optional
{
, proto
}}}}
Build a pair of connected socket objects using the given address
Build a pair of connected socket objects using the given address
family, socket type
and protocol number. Address family, socket type
family, socket type
, and protocol number. Address family, socket type,
and protocol number are as for the
\function
{
socket()
}
function above.
and protocol number are as for the
\function
{
socket()
}
function above.
The default family is
AF
_
UNIX if defined for the platform, otherwise
The default family is
\constant
{
AF
_
UNIX
}
if defined on the platform;
the default is AF
_
INET
.
otherwise, the default is
\constant
{
AF
_
INET
}
.
Availability:
\UNIX
.
\versionadded
{
2.4
}
Availability:
\UNIX
.
\versionadded
{
2.4
}
\end{funcdesc}
\end{funcdesc}
...
...
Modules/socketmodule.c
Dosyayı görüntüle @
e8bbfe4e
...
@@ -2981,7 +2981,7 @@ Return the protocol number for the named protocol. (Rarely used.)");
...
@@ -2981,7 +2981,7 @@ Return the protocol number for the named protocol. (Rarely used.)");
#ifdef HAVE_SOCKETPAIR
#ifdef HAVE_SOCKETPAIR
/* Create a pair of sockets using the socketpair() function.
/* Create a pair of sockets using the socketpair() function.
Arguments as for socket() except the default family is AF_UNIX if
Arguments as for socket() except the default family is AF_UNIX if
defined
for the platform, otherwise
the default is AF_INET. */
defined
on the platform; otherwise,
the default is AF_INET. */
/*ARGSUSED*/
/*ARGSUSED*/
static
PyObject
*
static
PyObject
*
...
@@ -3029,7 +3029,7 @@ PyDoc_STRVAR(socketpair_doc,
...
@@ -3029,7 +3029,7 @@ PyDoc_STRVAR(socketpair_doc,
Create a pair of socket objects from the sockets returned by the platform
\n
\
Create a pair of socket objects from the sockets returned by the platform
\n
\
socketpair() function.
\n
\
socketpair() function.
\n
\
The arguments are the same as for socket() except the default family is
\n
\
The arguments are the same as for socket() except the default family is
\n
\
AF_UNIX if defined
for the platform, otherwise
the default is AF_INET."
);
AF_UNIX if defined
on the platform; otherwise,
the default is AF_INET."
);
#endif
/* HAVE_SOCKETPAIR */
#endif
/* HAVE_SOCKETPAIR */
...
...
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