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
7a148c23
Kaydet (Commit)
7a148c23
authored
May 12, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix-up docs for socketserver and queue renaming.
üst
bb141bb1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
18 deletions
+20
-18
queue.rst
Doc/library/queue.rst
+9
-5
socketserver.rst
Doc/library/socketserver.rst
+8
-2
socketserver_old.rst
Doc/library/socketserver_old.rst
+0
-8
threading.rst
Doc/library/threading.rst
+1
-1
simple_stmts.rst
Doc/reference/simple_stmts.rst
+1
-1
stdlib2.rst
Doc/tutorial/stdlib2.rst
+1
-1
No files found.
Doc/library/queue.rst
Dosyayı görüntüle @
7a148c23
:mod:`queue` --- A synchronized queue class
:mod:`Queue` --- A synchronized queue class
===========================================
===========================================
.. module:: Queue
.. module:: Queue
:synopsis: Old name for the queue module.
.. module:: queue
:synopsis: A synchronized queue class.
:synopsis: A synchronized queue class.
.. note::
.. note::
The :mod:`Queue` module has been renamed to `queue` in Python 3.0.
The :mod:`Queue` module has been renamed to :mod:`queue` in Python 3.0. It
is importable under both names in Python 2.6 and the rest of the 2.x series.
The :mod:`
Q
ueue` module implements multi-producer, multi-consumer queues.
The :mod:`
q
ueue` module implements multi-producer, multi-consumer queues.
It is especially useful in threaded programming when information must be
It is especially useful in threaded programming when information must be
exchanged safely between multiple threads. The :class:`Queue` class in this
exchanged safely between multiple threads. The :class:`Queue` class in this
module implements all the required locking semantics. It depends on the
module implements all the required locking semantics. It depends on the
...
@@ -22,7 +26,7 @@ the first retrieved (operating like a stack). With a priority queue,
...
@@ -22,7 +26,7 @@ the first retrieved (operating like a stack). With a priority queue,
the entries are kept sorted (using the :mod:`heapq` module) and the
the entries are kept sorted (using the :mod:`heapq` module) and the
lowest valued entry is retrieved first.
lowest valued entry is retrieved first.
The :mod:`
Q
ueue` module defines the following classes and exceptions:
The :mod:`
q
ueue` module defines the following classes and exceptions:
.. class:: Queue(maxsize)
.. class:: Queue(maxsize)
...
...
Doc/library/socketserver.rst
Dosyayı görüntüle @
7a148c23
:mod:`socketserver` --- A framework for network servers
:mod:`socketserver` --- A framework for network servers
=======================================================
=======================================================
.. module:: SocketServer
:synopsis: Old name for the socketserver module.
.. module:: socketserver
.. module:: socketserver
:synopsis: A framework for network servers.
:synopsis: A framework for network servers.
.. versionadded:: 2.6
.. note::
The :mod:`SocketServer` module has been renamed to :mod:`socketserver` in
Python 3.0. It is importable under both names in Python 2.6 and the rest of
the 2.x series.
The :mod:`socketserver` module simplifies the task of writing network servers.
The :mod:`socketserver` module simplifies the task of writing network servers.
...
...
Doc/library/socketserver_old.rst
deleted
100644 → 0
Dosyayı görüntüle @
bb141bb1
:mod:`SocketServer` --- A framework for network servers
=======================================================
.. module:: SocketServer
:synopsis: A framework for network servers.
The :mod:`SocketServer` module has been renamed to :mod:`socketserver`
in Python 3.0. The old name is now deprecated.
Doc/library/threading.rst
Dosyayı görüntüle @
7a148c23
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
This module constructs higher-level threading interfaces on top of the lower
This module constructs higher-level threading interfaces on top of the lower
level :mod:`thread` module.
level :mod:`thread` module.
See also the :mod:`mutex` and :mod:`
Q
ueue` modules.
See also the :mod:`mutex` and :mod:`
q
ueue` modules.
The :mod:`dummy_threading` module is provided for situations where
The :mod:`dummy_threading` module is provided for situations where
:mod:`threading` cannot be used because :mod:`thread` is missing.
:mod:`threading` cannot be used because :mod:`thread` is missing.
...
...
Doc/reference/simple_stmts.rst
Dosyayı görüntüle @
7a148c23
...
@@ -534,7 +534,7 @@ The :keyword:`raise` statement
...
@@ -534,7 +534,7 @@ The :keyword:`raise` statement
If no expressions are present, :keyword:`raise` re-raises the last exception
If no expressions are present, :keyword:`raise` re-raises the last exception
that was active in the current scope. If no exception is active in the current
that was active in the current scope. If no exception is active in the current
scope, a :exc:`TypeError` exception is raised indicating that this is an error
scope, a :exc:`TypeError` exception is raised indicating that this is an error
(if running under IDLE, a :exc:`
Q
ueue.Empty` exception is raised instead).
(if running under IDLE, a :exc:`
q
ueue.Empty` exception is raised instead).
Otherwise, :keyword:`raise` evaluates the expressions to get three objects,
Otherwise, :keyword:`raise` evaluates the expressions to get three objects,
using ``None`` as the value of omitted expressions. The first two objects are
using ``None`` as the value of omitted expressions. The first two objects are
...
...
Doc/tutorial/stdlib2.rst
Dosyayı görüntüle @
7a148c23
...
@@ -198,7 +198,7 @@ variables, and semaphores.
...
@@ -198,7 +198,7 @@ variables, and semaphores.
While those tools are powerful, minor design errors can result in problems that
While those tools are powerful, minor design errors can result in problems that
are difficult to reproduce. So, the preferred approach to task coordination is
are difficult to reproduce. So, the preferred approach to task coordination is
to concentrate all access to a resource in a single thread and then use the
to concentrate all access to a resource in a single thread and then use the
:mod:`
Q
ueue` module to feed that thread with requests from other threads.
:mod:`
q
ueue` module to feed that thread with requests from other threads.
Applications using :class:`Queue` objects for inter-thread communication and
Applications using :class:`Queue` objects for inter-thread communication and
coordination are easier to design, more readable, and more reliable.
coordination are easier to design, more readable, and more reliable.
...
...
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