]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Fix inconsistency in multiprocessing (GH-12273)
authorJulien Palard <julien@palard.fr>
Mon, 11 Mar 2019 13:54:48 +0000 (14:54 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Mar 2019 13:54:48 +0000 (14:54 +0100)
Doc/library/multiprocessing.rst

index 987a0d508768cf2a2e4fb1763657a7a0251357ff..a5ecfa6cc1c70366e03b358d48e1c9fd5142e1a1 100644 (file)
@@ -1654,7 +1654,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()