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