Issue 5744: multiprocessing.managers.BaseManager.connect example typos (original) (raw)

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:47 admin set github: 49994
2009-04-13 03:35:54 ngie set messages: +
2009-04-12 23:45:38 benjamin.peterson set status: open -> closed
2009-04-12 23:44:25 benjamin.peterson set messages: +
2009-04-12 23:41:26 quiver set status: closed -> opennosy: + quivermessages: +
2009-04-12 23:21:21 benjamin.peterson set status: open -> closednosy: + benjamin.petersonmessages: + resolution: fixed
2009-04-12 23:08:12 ngie create