]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] gh-88355: Fix backslashes in AF_PIPE (GH-96543) (#97855)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Oct 2022 22:55:39 +0000 (15:55 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Oct 2022 22:55:39 +0000 (15:55 -0700)
gh-88355: Fix backslashes in AF_PIPE (GH-96543)

Fix backslashes in AF_PIPE (GH-88355)

The correct syntax for AF_PIPE addresses is `\\.\pipe\blahblah`, not `\.\pipe{blahblah}`, but the syntax markup messed up the backslashes.
(cherry picked from commit ff28d8926de92d809e3b7f71d3e44672178ed11e)

Co-authored-by: cousteau <cousteaulecommandant@users.noreply.github.com>
Co-authored-by: cousteau <cousteaulecommandant@users.noreply.github.com>
Doc/library/multiprocessing.rst

index 48bccabe6a3111f31fb02e6a89c467f800d3046e..95e74b9b93d64df9b4027ec8a663800ca74fb270 100644 (file)
@@ -2595,9 +2595,9 @@ Address Formats
   filesystem.
 
 * An ``'AF_PIPE'`` address is a string of the form
-  :samp:`r'\\\\.\\pipe\\{PipeName}'`.  To use :func:`Client` to connect to a named
+  :samp:`r'\\\\\\.\\pipe\\\\{PipeName}'`.  To use :func:`Client` to connect to a named
   pipe on a remote computer called *ServerName* one should use an address of the
-  form :samp:`r'\\\\{ServerName}\\pipe\\{PipeName}'` instead.
+  form :samp:`r'\\\\\\\\{ServerName}\\pipe\\\\{PipeName}'` instead.
 
 Note that any string beginning with two backslashes is assumed by default to be
 an ``'AF_PIPE'`` address rather than an ``'AF_UNIX'`` address.