This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: multiprocessing.managers.BaseManager.connect example typos
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: benjamin.peterson, georg.brandl, jnoller, ngie, quiver
Priority: normal Keywords:

Created on 2009-04-12 23:08 by ngie, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg85924 - (view) Author: Enji Cooper (ngie) * Date: 2009-04-12 23:08
The example under multiprocessing.managers.BaseManager.connect has 2 typos:

    >>> from multiprocessing.managers import BaseManager
    >>> m = BaseManager(address='127.0.0.1', authkey='abc))>>> 
    m.connect()

Here's a corrected example:

    >>> from multiprocessing.managers import BaseManager
    >>> m = BaseManager(address='127.0.0.1', authkey='abc')
    >>> m.connect()
msg85925 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-04-12 23:21
Fixed in r71544.
msg85926 - (view) Author: George Yoshida (quiver) (Python committer) Date: 2009-04-12 23:41
> The example ... has *2* typos

I guess the reporter wants to point out

- extra parenthesis(fixed in r71544)
- closing quote is missing for authkey argument
msg85927 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-04-12 23:44
Ah. My apologies. I thought the second typo was that it rendered
incorrectly as your example shows. Fixed in r71546.
msg85934 - (view) Author: Enji Cooper (ngie) * Date: 2009-04-13 03:35
Thanks for noting that George Y. and thanks for fixing the documentation
on SVN Benjamin :).
History
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 49994
2009-04-13 03:35:54ngiesetmessages: + msg85934
2009-04-12 23:45:38benjamin.petersonsetstatus: open -> closed
2009-04-12 23:44:25benjamin.petersonsetmessages: + msg85927
2009-04-12 23:41:26quiversetstatus: closed -> open
nosy: + quiver
messages: + msg85926

2009-04-12 23:21:21benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg85925

resolution: fixed
2009-04-12 23:08:12ngiecreate