summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-06-07 16:59:34 (GMT)
committerGitHub <noreply@github.com>2024-06-07 16:59:34 (GMT)
commit242c7498e5a889b47847fb6f0f133ce461fa7e24 (patch)
tree8ddfc753a1fe1d4f6ba2fd32d5f4b6ebbf3e6c0f /Python
parent90b75405260467814c93738a3325645918d4ea51 (diff)
downloadcpython-242c7498e5a889b47847fb6f0f133ce461fa7e24.zip
cpython-242c7498e5a889b47847fb6f0f133ce461fa7e24.tar.gz
cpython-242c7498e5a889b47847fb6f0f133ce461fa7e24.tar.bz2
GH-116380: Move pathlib-specific code from `glob` to `pathlib._abc`. (#120011)
In `glob._Globber`, move pathlib-specific methods to `pathlib._abc.PathGlobber` and replace them with abstract methods. Rename `glob._Globber` to `glob._GlobberBase`. As a result, the `glob` module is no longer befouled by code that can only ever apply to pathlib. No change of behaviour.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions