Python: add some path returning functions

that were only listed as file sytem accesses.
This commit is contained in:
Rasmus Lerchedahl Petersen
2021-04-15 10:55:09 +02:00
parent 02e41d8018
commit d361d999b7

View File

@@ -887,7 +887,9 @@ private module Stdlib {
/**
* Gets a name of a method of a `pathlib.Path` object that returns a `pathlib.Path` object.
*/
private string pathlibPathMethod() { result in ["absolute", "relative_to"] }
private string pathlibPathMethod() {
result in ["absolute", "relative_to", "rename", "replace", "resolve"]
}
/**
* Gets a name of a method of a `pathlib.Path` object that modifies a `pathlib.Path` object based on new data.