]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Move pathlib implementation out of `__init__.py` (#118582)
authorBarney Gale <barney.gale@gmail.com>
Sun, 5 May 2024 19:57:19 +0000 (20:57 +0100)
committerGitHub <noreply@github.com>
Sun, 5 May 2024 19:57:19 +0000 (20:57 +0100)
commitd8d94911e2393bd30ca58a32b33d792307fdc00d
tree102b598fe0bac8fe52c3cf25be48e78bf945e2a9
parentf27f8c790af1233d499b795af1c0d1b36aaecaf5
Move pathlib implementation out of `__init__.py` (#118582)

Use the `__init__.py` file only for imports that define the API, following the example of asyncio.
Lib/pathlib/__init__.py
Lib/pathlib/_abc.py
Lib/pathlib/_glob.py
Lib/pathlib/_local.py [new file with mode: 0644]