Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 37011bf

Browse filesBrowse files
committed
Fix backslash formatting in git.util docstrings
As in 5219489.
1 parent ae37a4a commit 37011bf
Copy full SHA for 37011bf

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎git/util.py

Copy file name to clipboardExpand all lines: git/util.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.