Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f86b28e3
Commit
f86b28e3
authored
Apr 13, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#14535: fix code highlight in multiprocessing examples. Patch by Tshepang Lekhonkhobe.
parent
650dfaf5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Doc/library/multiprocessing.rst
Doc/library/multiprocessing.rst
+4
-1
No files found.
Doc/library/multiprocessing.rst
View file @
f86b28e3
...
@@ -1114,7 +1114,7 @@ The results printed are ::
...
@@ -1114,7 +1114,7 @@ The results printed are ::
HELLO WORLD
HELLO WORLD
[(3.515625, 39.0625), (33.0625, 4.0), (5.640625, 90.25)]
[(3.515625, 39.0625), (33.0625, 4.0), (5.640625, 90.25)]
.. highlight:: python
.. highlight:: python
3
.. _multiprocessing-managers:
.. _multiprocessing-managers:
...
@@ -2256,16 +2256,19 @@ Examples
...
@@ -2256,16 +2256,19 @@ Examples
Demonstration of how to create and use customized managers and proxies:
Demonstration of how to create and use customized managers and proxies:
.. literalinclude:: ../includes/mp_newtype.py
.. literalinclude:: ../includes/mp_newtype.py
:language: python3
Using :class:`Pool`:
Using :class:`Pool`:
.. literalinclude:: ../includes/mp_pool.py
.. literalinclude:: ../includes/mp_pool.py
:language: python3
Synchronization types like locks, conditions and queues:
Synchronization types like locks, conditions and queues:
.. literalinclude:: ../includes/mp_synchronize.py
.. literalinclude:: ../includes/mp_synchronize.py
:language: python3
An example showing how to use queues to feed tasks to a collection of worker
An example showing how to use queues to feed tasks to a collection of worker
...
...
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