MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _get_bothseps

Function _get_bothseps

tools/python-3.11.9-amd64/Lib/ntpath.py:35–39  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

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

Callers 3

splitFunction · 0.85
ismountFunction · 0.85
expanduserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected