misc: add stem function to Path

This commit is contained in:
Izalia Mae 2021-03-09 14:05:18 -05:00
parent a55b32e2df
commit a46c109852

View file

@ -321,6 +321,7 @@ class Path(object):
self.missing = missing
self.parents = parents
self.name = self.__path.name
self.stem = self.__path.stem
def __str__(self):