Closed VPashkov closed 6 years ago
There is a small inaccuracy in the pathlib description:
Also pathlib.Path" has a bunch of methods, that every python novice previously had to google: ... p.parts() ...
But "parts" is not a method, it is a property. One should write p.parts instead of p.parts().
p.parts
p.parts()
Thanks for pointing!
There is a small inaccuracy in the pathlib description:
But "parts" is not a method, it is a property. One should write
p.parts
instead ofp.parts()
.