Add custom initializer argument to multiprocess.Manager*, courtesy of lekma

This commit is contained in:
Jesse Noller 2009-04-02 05:17:26 +00:00
parent d56bab47f1
commit 7152f6d915
5 changed files with 50 additions and 6 deletions

View file

@ -1130,9 +1130,10 @@ their parent process exits. The manager classes are defined in the
``current_process().authkey``. Otherwise *authkey* is used and it
must be a string.
.. method:: start()
.. method:: start([initializer[, initargs]])
Start a subprocess to start the manager.
Start a subprocess to start the manager. If *initializer* is not ``None``
then the subprocess will call ``initializer(*initargs)`` when it starts.
.. method:: serve_forever()