8000 gh-88355: Fix backslashes in AF_PIPE by cousteaulecommandant · Pull Request #96543 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-88355: Fix backslashes in AF_PIPE #96543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
cousteaulecommandant committed Sep 3, 2022
commit 1b0b9c570183499ffaafa0a521767271983dd093
4 changes: 2 additions & 2 deletions Doc/library/multiprocessing.rst
6757
Original file line number Diff line number Diff line change
Expand Up @@ -2618,9 +2618,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.
Expand Down
0