Return a new path with the stem changed.
(self, stem)
| 676 | self._parts[:-1] + [name]) |
| 677 | |
| 678 | def with_stem(self, stem): |
| 679 | """Return a new path with the stem changed.""" |
| 680 | return self.with_name(stem + self.suffix) |
| 681 | |
| 682 | def with_suffix(self, suffix): |
| 683 | """Return a new path with the file suffix changed. If the path |