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
2f704557
Kaydet (Commit)
2f704557
authored
Agu 16, 2001
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed a couple of minor formatting nits where lines were > 79 columns wide.
üst
b44740f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
selectmodule.c
Modules/selectmodule.c
+4
-2
No files found.
Modules/selectmodule.c
Dosyayı görüntüle @
2f704557
...
@@ -230,7 +230,8 @@ select_select(PyObject *self, PyObject *args)
...
@@ -230,7 +230,8 @@ select_select(PyObject *self, PyObject *args)
}
}
else
{
else
{
if
(
timeout
>
(
double
)
LONG_MAX
)
{
if
(
timeout
>
(
double
)
LONG_MAX
)
{
PyErr_SetString
(
PyExc_OverflowError
,
"timeout period too long"
);
PyErr_SetString
(
PyExc_OverflowError
,
"timeout period too long"
);
return
NULL
;
return
NULL
;
}
}
seconds
=
(
long
)
timeout
;
seconds
=
(
long
)
timeout
;
...
@@ -368,7 +369,8 @@ update_ufd_array(pollObject *self)
...
@@ -368,7 +369,8 @@ update_ufd_array(pollObject *self)
static
char
poll_register_doc
[]
=
static
char
poll_register_doc
[]
=
"register(fd [, eventmask] ) -> None
\n\n
\
"register(fd [, eventmask] ) -> None
\n\n
\
Register a file descriptor with the polling object.
\n
\
Register a file descriptor with the polling object.
\n
\
fd -- either an integer, or an object with a fileno() method returning an int.
\n
\
fd -- either an integer, or an object with a fileno() method returning an
\n
\
int.
\n
\
events -- an optional bitmask describing the type of events to check for"
;
events -- an optional bitmask describing the type of events to check for"
;
static
PyObject
*
static
PyObject
*
...
...
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