mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
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.
This commit is contained in:
parent
985958187d
commit
ff28d8926d
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue