(cls, drv, root, tail)
| 262 | |
| 263 | @classmethod |
| 264 | def _format_parsed_parts(cls, drv, root, tail): |
| 265 | if drv or root: |
| 266 | return drv + root + cls.parser.sep.join(tail) |
| 267 | elif tail and cls.parser.splitdrive(tail[0])[0]: |
| 268 | tail = ['.'] + tail |
| 269 | return cls.parser.sep.join(tail) |
| 270 | |
| 271 | def _from_parsed_parts(self, drv, root, tail): |
| 272 | path = self._from_parsed_string(self._format_parsed_parts(drv, root, tail)) |
no test coverage detected