(path)
| 39 | |
| 40 | |
| 41 | def _get_sep(path): |
| 42 | if isinstance(path, bytes): |
| 43 | return b'/' |
| 44 | else: |
| 45 | return '/' |
| 46 | |
| 47 | # Normalize the case of a pathname. Trivial in Posix, string.lower on Mac. |
| 48 | # On MS-DOS this may also turn slashes into backslashes; however, other |