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
2fb3b827
Kaydet (Commit)
2fb3b827
authored
Mar 13, 2014
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
asyncio doc: functions are coroutine, they don't return a coroutine
It's not exact, but easier to understand.
üst
39930c9c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
asyncio-protocol.rst
Doc/library/asyncio-protocol.rst
+1
-1
asyncio-subprocess.rst
Doc/library/asyncio-subprocess.rst
+2
-2
asyncio-sync.rst
Doc/library/asyncio-sync.rst
+1
-1
No files found.
Doc/library/asyncio-protocol.rst
Dosyayı görüntüle @
2fb3b827
...
...
@@ -497,6 +497,6 @@ TCP echo server example, send back received data and close the connection::
:meth:`Transport.close` can be called immediately after
:meth:`WriteTransport.write` even if data are not sent yet on the socket: both
methods are asynchronous. ``yield from`` is not needed because these transport
methods
don't return
coroutines.
methods
are not
coroutines.
Doc/library/asyncio-subprocess.rst
Dosyayı görüntüle @
2fb3b827
...
...
@@ -11,13 +11,13 @@ Create a subprocess
Run the shell command *cmd* given as a string. Return a :class:`~asyncio.subprocess.Process`
instance.
This function
returns a :ref:`coroutine object
<coroutine>`.
This function
is a :ref:`coroutine
<coroutine>`.
.. function:: create_subprocess_exec(\*args, stdin=None, stdout=None, stderr=None, loop=None, limit=None, \*\*kwds)
Create a subprocess. Return a :class:`~asyncio.subprocess.Process` instance.
This function
returns a :ref:`coroutine object
<coroutine>`.
This function
is a :ref:`coroutine
<coroutine>`.
Use the :meth:`BaseEventLoop.connect_read_pipe` and
:meth:`BaseEventLoop.connect_write_pipe` methods to connect pipes.
...
...
Doc/library/asyncio-sync.rst
Dosyayı görüntüle @
2fb3b827
...
...
@@ -73,7 +73,7 @@ Lock
This method blocks until the lock is unlocked, then sets it to locked and
returns ``True``.
This method
returns a :ref:`coroutine object
<coroutine>`.
This method
is a :ref:`coroutine
<coroutine>`.
.. method:: release()
...
...
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