description: Create a path from an object.
View source on GitHub
|
Create a path from an object.
letter := [A-Za-z] digit := [0-9] <simple_step_char> := "_"|"-"| | letter | digit <simple_step> := <simple_step_char>+ := "(" (<simple_step> ".")* <simple_step> ")" := <simple_step> | := (( ".") * )?
| `path_source` | a string or a Path object. |
| A Path. |
| `ValueError` | if this is not a valid path. |
View source on GitHub