MCPcopy Index your code
hub / github.com/python/cpython / compose_two

Function compose_two

Lib/test/test_zipfile/_path/_functools.py:6–7  ·  view source on GitHub ↗
(f1, f2)

Source from the content-addressed store, hash-verified

4# from jaraco.functools 3.5.2
5def compose(*funcs):
6 def compose_two(f1, f2):
7 return lambda *args, **kwargs: f1(f2(*args, **kwargs))
8
9 return functools.reduce(compose_two, funcs)

Callers

nothing calls this directly

Calls 2

f1Function · 0.85
f2Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…