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
dec43382
Kaydet (Commit)
dec43382
authored
Kas 23, 2013
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix transport docstrings
üst
2427b50f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
transports.py
Lib/asyncio/transports.py
+5
-5
No files found.
Lib/asyncio/transports.py
Dosyayı görüntüle @
dec43382
...
@@ -16,7 +16,7 @@ class BaseTransport:
...
@@ -16,7 +16,7 @@ class BaseTransport:
return
self
.
_extra
.
get
(
name
,
default
)
return
self
.
_extra
.
get
(
name
,
default
)
def
close
(
self
):
def
close
(
self
):
"""Close
s
the transport.
"""Close the transport.
Buffered data will be flushed asynchronously. No more data
Buffered data will be flushed asynchronously. No more data
will be received. After all buffered data is flushed, the
will be received. After all buffered data is flushed, the
...
@@ -92,7 +92,7 @@ class WriteTransport(BaseTransport):
...
@@ -92,7 +92,7 @@ class WriteTransport(BaseTransport):
self
.
write
(
data
)
self
.
write
(
data
)
def
write_eof
(
self
):
def
write_eof
(
self
):
"""Close
s
the write end after flushing buffered data.
"""Close the write end after flushing buffered data.
(This is like typing ^D into a UNIX program reading from stdin.)
(This is like typing ^D into a UNIX program reading from stdin.)
...
@@ -101,11 +101,11 @@ class WriteTransport(BaseTransport):
...
@@ -101,11 +101,11 @@ class WriteTransport(BaseTransport):
raise
NotImplementedError
raise
NotImplementedError
def
can_write_eof
(
self
):
def
can_write_eof
(
self
):
"""Return True if this
protocol
supports write_eof(), False if not."""
"""Return True if this
transport
supports write_eof(), False if not."""
raise
NotImplementedError
raise
NotImplementedError
def
abort
(
self
):
def
abort
(
self
):
"""Clos
e
s the transport immediately.
"""Closs the transport immediately.
Buffered data will be lost. No more data will be received.
Buffered data will be lost. No more data will be received.
The protocol's connection_lost() method will (eventually) be
The protocol's connection_lost() method will (eventually) be
...
@@ -150,7 +150,7 @@ class DatagramTransport(BaseTransport):
...
@@ -150,7 +150,7 @@ class DatagramTransport(BaseTransport):
raise
NotImplementedError
raise
NotImplementedError
def
abort
(
self
):
def
abort
(
self
):
"""Close
s
the transport immediately.
"""Close the transport immediately.
Buffered data will be lost. No more data will be received.
Buffered data will be lost. No more data will be received.
The protocol's connection_lost() method will (eventually) be
The protocol's connection_lost() method will (eventually) be
...
...
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