part of #4012: kill off old name "processing".

This commit is contained in:
Georg Brandl 2008-10-16 21:36:39 +00:00
parent 87e6ad290b
commit 19cc944e45
1 changed files with 5 additions and 5 deletions

View File

@ -378,8 +378,8 @@ The :mod:`multiprocessing` package mostly replicates the API of the
Example usage of some of the methods of :class:`Process`:: Example usage of some of the methods of :class:`Process`::
>>> import processing, time, signal >>> import multiprocessing, time, signal
>>> p = processing.Process(target=time.sleep, args=(1000,)) >>> p = multiprocessing.Process(target=time.sleep, args=(1000,))
>>> print p, p.is_alive() >>> print p, p.is_alive()
<Process(Process-1, initial)> False <Process(Process-1, initial)> False
>>> p.start() >>> 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:: Below is an example session with logging turned on::
>>> import processing, logging >>> import multiprocessing, logging
>>> logger = processing.getLogger() >>> logger = multiprocessing.getLogger()
>>> logger.setLevel(logging.INFO) >>> logger.setLevel(logging.INFO)
>>> logger.warning('doomed') >>> logger.warning('doomed')
[WARNING/MainProcess] doomed [WARNING/MainProcess] doomed
>>> m = processing.Manager() >>> m = multiprocessing.Manager()
[INFO/SyncManager-1] child process calling self.run() [INFO/SyncManager-1] child process calling self.run()
[INFO/SyncManager-1] manager bound to '\\\\.\\pipe\\pyc-2776-0-lj0tfa' [INFO/SyncManager-1] manager bound to '\\\\.\\pipe\\pyc-2776-0-lj0tfa'
>>> del m >>> del m