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
3ebaea00
Kaydet (Commit)
3ebaea00
authored
Mar 02, 2016
tarafından
Yury Selivanov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Sync selectors.py with upstream asyncio
üst
45c84cc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
selectors.py
Lib/selectors.py
+6
-5
No files found.
Lib/selectors.py
Dosyayı görüntüle @
3ebaea00
...
...
@@ -49,11 +49,12 @@ SelectorKey.__doc__ = """SelectorKey(fileobj, fd, events, data)
Object used to associate a file object to its backing
file descriptor, selected event mask, and attached data.
"""
SelectorKey
.
fileobj
.
__doc__
=
'File object registered.'
SelectorKey
.
fd
.
__doc__
=
'Underlying file descriptor.'
SelectorKey
.
events
.
__doc__
=
'Events that must be waited for on this file object.'
SelectorKey
.
data
.
__doc__
=
(
'''Optional opaque data associated to this file object.
For example, this could be used to store a per-client session ID.'''
)
if
sys
.
version_info
>=
(
3
,
5
):
SelectorKey
.
fileobj
.
__doc__
=
'File object registered.'
SelectorKey
.
fd
.
__doc__
=
'Underlying file descriptor.'
SelectorKey
.
events
.
__doc__
=
'Events that must be waited for on this file object.'
SelectorKey
.
data
.
__doc__
=
(
'''Optional opaque data associated to this file object.
For example, this could be used to store a per-client session ID.'''
)
class
_SelectorMapping
(
Mapping
):
"""Mapping of file objects to selector keys."""
...
...
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