MCPcopy Index your code
hub / github.com/python/cpython / _get_bothseps

Function _get_bothseps

Lib/ntpath.py:34–38  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

32 "isdevdrive", "ALL_BUT_LAST", "ALLOW_MISSING"]
33
34def _get_bothseps(path):
35 if isinstance(path, bytes):
36 return b'\\/'
37 else:
38 return '\\/'
39
40# Normalize the case of a pathname and map slashes to backslashes.
41# Other normalizations (such as optimizing '../' away) are not done

Callers 2

splitFunction · 0.85
ismountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…