diff options
author | Georg Brandl <georg@python.org> | 2008-10-16 21:36:39 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-10-16 21:36:39 (GMT) |
commit | 19cc944e450414e24f774d17a68110bee40eedfd (patch) | |
tree | ae73a2b79e899a2372abb89126ba17726452f62a | |
parent | 87e6ad290b086c2d95ef9eb443e175c24b00ae94 (diff) | |
download | cpython-19cc944e450414e24f774d17a68110bee40eedfd.zip cpython-19cc944e450414e24f774d17a68110bee40eedfd.tar.gz cpython-19cc944e450414e24f774d17a68110bee40eedfd.tar.bz2 |
part of #4012: kill off old name "processing".
-rw-r--r-- | Doc/library/multiprocessing.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index c5901fa..0874a80 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -378,8 +378,8 @@ The :mod:`multiprocessing` package mostly replicates the API of the Example usage of some of the methods of :class:`Process`:: - >>> import processing, time, signal - >>> p = processing.Process(target=time.sleep, args=(1000,)) + >>> import multiprocessing, time, signal + >>> p = multiprocessing.Process(target=time.sleep, args=(1000,)) >>> print p, p.is_alive() <Process(Process-1, initial)> False >>> p.start() @@ -1781,12 +1781,12 @@ handler type) for messages from different processes to get mixed up. Below is an example session with logging turned on:: - >>> import processing, logging - >>> logger = processing.getLogger() + >>> import multiprocessing, logging + >>> logger = multiprocessing.getLogger() >>> logger.setLevel(logging.INFO) >>> logger.warning('doomed') [WARNING/MainProcess] doomed - >>> m = processing.Manager() + >>> m = multiprocessing.Manager() [INFO/SyncManager-1] child process calling self.run() [INFO/SyncManager-1] manager bound to '\\\\.\\pipe\\pyc-2776-0-lj0tfa' >>> del m |