| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -260,7 +260,7 @@ def stream_copy(source: BinaryIO, destination: BinaryIO, chunk_size: int = 512 * | |||
| 260 | 260 | ||
| 261 | 261 | def join_path(a: PathLike, *p: PathLike) -> PathLike: | |
| 262 | 262 | R"""Join path tokens together similar to osp.join, but always use | |
| 263 | - '/' instead of possibly '\' on Windows.""" | ||
| 263 | + ``/`` instead of possibly ``\`` on Windows.""" | ||
| 264 | 264 | path = str(a) | |
| 265 | 265 | for b in p: | |
| 266 | 266 | b = str(b) | |
@@ -300,7 +300,7 @@ def join_path_native(a: PathLike, *p: PathLike) -> PathLike: | |||
| 300 | 300 | R"""Like join_path, but makes sure an OS native path is returned. | |
| 301 | 301 | ||
| 302 | 302 | This is only needed to play it safe on Windows and to ensure nice paths that only | |
| 303 | - use '\'. | ||
| 303 | + use ``\``. | ||
| 304 | 304 | """ | |
| 305 | 305 | return to_native_path(join_path(a, *p)) | |
| 306 | 306 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments