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
60977c73
Kaydet (Commit)
60977c73
authored
Haz 10, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
more markup fix.
üst
0099e720
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
asyncore.rst
Doc/library/asyncore.rst
+9
-9
No files found.
Doc/library/asyncore.rst
Dosyayı görüntüle @
60977c73
...
@@ -224,18 +224,18 @@ any that have been added to the map during asynchronous service) is closed.
...
@@ -224,18 +224,18 @@ any that have been added to the map during asynchronous service) is closed.
.. class:: file_dispatcher()
.. class:: file_dispatcher()
A file_dispatcher takes a file descriptor or file object along with an
A file_dispatcher takes a file descriptor or file object along with an
optional map argument and wraps it for use with the :cfunc:`poll`\
or
optional map argument and wraps it for use with the :cfunc:`poll`
or
:cfunc:`loop`\
functions. If provided a file object or anything with a
:cfunc:`loop`
functions. If provided a file object or anything with a
:cfunc:`fileno`\
method, that method will be called and passed to the
:cfunc:`fileno`
method, that method will be called and passed to the
:class:`file_wrapper` constructor. Availability: UNIX
:class:`file_wrapper` constructor. Availability: UNIX.
.. class:: file_wrapper()
.. class:: file_wrapper()
A file_wrapper takes an integer file descriptor and calls os.dup()
to
A file_wrapper takes an integer file descriptor and calls :func:`os.dup`
to
duplicate the handle so that the original handle may be closed independently
duplicate the handle so that the original handle may be closed independently
of the file_wrapper. This class implements sufficient methods to emulate a
of the file_wrapper. This class implements sufficient methods to emulate a
socket for use by the file_dispatcher class. Availability: UNIX
socket for use by the :class:`file_dispatcher` class. Availability: UNIX.
.. _asyncore-example:
.. _asyncore-example:
...
...
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