[Python-checkins] gh-88355: Fix backslashes in AF_PIPE (#96543)

orsenthil webhook-mailer at python.org
Tue Oct 4 18:54:34 EDT 2022


https://github.com/python/cpython/commit/ff28d8926de92d809e3b7f71d3e44672178ed11e
commit: ff28d8926de92d809e3b7f71d3e44672178ed11e
branch: main
author: cousteau <cousteaulecommandant at users.noreply.github.com>
committer: orsenthil <senthilx at amazon.com>
date: 2022-10-04T15:54:03-07:00
summary:

gh-88355: Fix backslashes in AF_PIPE (#96543)

Fix backslashes in AF_PIPE (#88355)

The correct syntax for AF_PIPE addresses is `\\.\pipe\blahblah`, not `\.\pipe{blahblah}`, but the syntax markup messed up the backslashes.

files:
M Doc/library/multiprocessing.rst

diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 6f6e7881598b..dab115acdc20 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -2629,9 +2629,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.



More information about the Python-checkins mailing list