]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.7] Doc: Fix inconsistency in multiprocessing (GH-12273) (GH-12275)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 Mar 2019 14:23:30 +0000 (07:23 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Mar 2019 14:23:30 +0000 (07:23 -0700)
(cherry picked from commit d9bd8ec2a40ea67bc4248a72943a409ee645ddf3)

Co-authored-by: Julien Palard <julien@palard.fr>
Doc/library/multiprocessing.rst

index 6ed8f211f361d843ee5556d016805da34acc568a..96e0dc831b79564aa343a2c069c117b968e7bd3b 100644 (file)
@@ -1645,7 +1645,7 @@ their parent process exits.  The manager classes are defined in the
       Connect a local manager object to a remote manager process::
 
       >>> from multiprocessing.managers import BaseManager
-      >>> m = BaseManager(address=('127.0.0.1', 5000), authkey=b'abc')
+      >>> m = BaseManager(address=('127.0.0.1', 50000), authkey=b'abc')
       >>> m.connect()
 
    .. method:: shutdown()