(path)
| 32 | "isdevdrive", "ALL_BUT_LAST", "ALLOW_MISSING"] |
| 33 | |
| 34 | def _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 |