micropython-lib/python-stdlib/inspect
Damien George 48bf3a74a8 inspect: Fix isgenerator logic.
Also optimise both `isgenerator()` and `isgeneratorfunction()` so they use
the same lambda, and don't have to create it each time they are called.

Fixes issue #997.

Signed-off-by: Damien George <damien@micropython.org>
2025-04-14 10:26:38 +10:00
..
inspect.py inspect: Fix isgenerator logic. 2025-04-14 10:26:38 +10:00
manifest.py all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00