Created
August 29, 2026 13:10
-
-
Save mypy-play/7d73ef0f1775574806e1cb807ca6926d to your computer and use it in GitHub Desktop.
Shared via mypy Playground
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pathlib import Path | |
| def split_paths(paths: str) -> list[Path]: | |
| paths: list[str] = paths.split(":") | |
| return [Path(p) for p in paths] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment