File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -978,16 +978,16 @@ pwd = Path()
978
978
```
979
979
980
980
``` python
981
- < str > = str (< Path> ) # Returns path as string.
982
- < tup.> = < Path> .parts # Returns all components as strings.
983
- < Path> = < Path> .resolve() # Makes path absolute.
981
+ < str > = str (< Path> ) # Returns path as string.
982
+ < tup.> = < Path> .parts # Returns all components as strings.
983
+ < Path> = < Path> .resolve() # Makes path absolute.
984
984
```
985
985
986
986
``` python
987
- < str > = < Path> .name # Final component.
988
- < str > = < Path> .stem # Final component without extension.
989
- < str > = < Path> .suffix # Final component's extension.
990
- < Path> = < Path> .parent # Path without final component.
987
+ < str > = < Path> .name # Final component.
988
+ < str > = < Path> .stem # Final component without extension.
989
+ < str > = < Path> .suffix # Final component's extension.
990
+ < Path> = < Path> .parent # Path without final component.
991
991
```
992
992
993
993
You can’t perform that action at this time.
0 commit comments