Skip to content

Commit 37011bf

Browse files
committed
Fix backslash formatting in git.util docstrings
As in 5219489.
1 parent ae37a4a commit 37011bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def stream_copy(source: BinaryIO, destination: BinaryIO, chunk_size: int = 512 *
260260

261261
def join_path(a: PathLike, *p: PathLike) -> PathLike:
262262
R"""Join path tokens together similar to osp.join, but always use
263-
'/' instead of possibly '\' on Windows."""
263+
``/`` instead of possibly ``\`` on Windows."""
264264
path = str(a)
265265
for b in p:
266266
b = str(b)
@@ -300,7 +300,7 @@ def join_path_native(a: PathLike, *p: PathLike) -> PathLike:
300300
R"""Like join_path, but makes sure an OS native path is returned.
301301
302302
This is only needed to play it safe on Windows and to ensure nice paths that only
303-
use '\'.
303+
use ``\``.
304304
"""
305305
return to_native_path(join_path(a, *p))
306306

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy