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
2f3bd836
Kaydet (Commit)
2f3bd836
authored
Eyl 21, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#3852: fix some select.kqueue and kevent docs.
üst
e1d9dca7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
select.rst
Doc/library/select.rst
+3
-3
selectmodule.c
Modules/selectmodule.c
+1
-1
No files found.
Doc/library/select.rst
Dosyayı görüntüle @
2f3bd836
...
...
@@ -50,7 +50,7 @@ The module defines the following:
.. versionadded:: 2.6
.. function:: k
queue
(ident, filter=KQ_FILTER_READ, flags=KQ_ADD, fflags=0, data=0, udata=0)
.. function:: k
event
(ident, filter=KQ_FILTER_READ, flags=KQ_ADD, fflags=0, data=0, udata=0)
(Only supported on BSD.) Returns a kernel event object object; see section
:ref:`kevent-objects` below for the methods supported by kqueue objects.
...
...
@@ -272,12 +272,12 @@ Kqueue Objects
Return the file descriptor number of the control fd.
.. method::
epoll
.fromfd(fd)
.. method::
kqueue
.fromfd(fd)
Create a kqueue object from a given file descriptor.
.. method::
control(changelist, max_events=0
[, timeout=None]) -> eventlist
.. method::
kqueue.control(changelist, max_events
[, timeout=None]) -> eventlist
Low level interface to kevent
...
...
Modules/selectmodule.c
Dosyayı görüntüle @
2f3bd836
...
...
@@ -1607,7 +1607,7 @@ kqueue_queue_control(kqueue_queue_Object *self, PyObject *args)
}
PyDoc_STRVAR
(
kqueue_queue_control_doc
,
"control(changelist, max_events
=0
[, timeout=None]) -> eventlist
\n
\
"control(changelist, max_events[, timeout=None]) -> eventlist
\n
\
\n
\
Calls the kernel kevent function.
\n
\
- changelist must be a list of kevent objects describing the changes
\n
\
...
...
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