gh-106752: Move zipfile._path into its own package (#106753)

* gh-106752: Move zipfile._path into its own package so it may have supplementary behavior.

* Add blurb
This commit is contained in:
Jason R. Coombs 2023-07-14 16:40:46 -04:00 committed by GitHub
parent fb32f35c05
commit 03185f0c15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1,9 @@
import functools
# from jaraco.functools 3.5.2
def compose(*funcs):
def compose_two(f1, f2):
return lambda *args, **kwargs: f1(f2(*args, **kwargs))
return functools.reduce(compose_two, funcs)