Dec. 20, 2021
7:14 a.m.
20.12.21 13:42, Mark Shannon пише:
OOI, of those 1577 Callable type hints, how many distinct Callable types?
Around 15-20%. Most of them are in tests which widely use pytest fixtures, so functions taking and returning callables are common. There are around 200 occurrences in non-test code, half of them are distinct types.