Skip to content

Commit

Permalink
GH-128520: Merge pathlib._abc into pathlib.types (#130747)
Browse files Browse the repository at this point in the history
There used to be a meaningful distinction between these modules: `pathlib`
imported `pathlib._abc` but not `pathlib.types`. This is no longer the
case (neither module is imported), so we move the ABCs as follows:

- `pathlib._abc.JoinablePath` --> `pathlib.types._JoinablePath`
- `pathlib._abc.ReadablePath` --> `pathlib.types._ReadablePath`
- `pathlib._abc.WritablePath` --> `pathlib.types._WritablePath`
  • Loading branch information
barneygale authored Mar 3, 2025
1 parent 321bf59 commit d0eb01c
Show file tree
Hide file tree
Showing 4 changed files with 406 additions and 410 deletions.
397 changes: 0 additions & 397 deletions Lib/pathlib/_abc.py

This file was deleted.

Loading

0 comments on commit d0eb01c

Please sign in to comment.