Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
types.py module has different helpers to get their types, likeasync def _c(): pass to get coroutine type ordef _g(): yield 1 to get generator type, etc.
It has has these line to getCellType:
Lines 18 to 23 in9625de6
| def_cell_factory(): | |
| a=1 | |
| deff(): | |
| nonlocala | |
| returnf.__closure__[0] | |
| CellType=type(_cell_factory()) |
Afterward, all helpers are deleted, except_cell_factory, which I think should be fixed. It is not good to expose such implementation details.
And this line agrees with me:
Line 63 in9625de6
| delsys,_f,_g,_C,_c,_ag# Not for export |
Related: