BUG: 369363
Supports unpacking and iterating over custom sequence types.
See tests for examples (some by Nicolás Alvarez).
Returning iter(builtin_container) isn't handled usefully because they use docstring cheats with no real return values.
BUG: 369363
Supports unpacking and iterating over custom sequence types.
See tests for examples (some by Nicolás Alvarez).
Returning iter(builtin_container) isn't handled usefully because they use docstring cheats with no real return values.
Added tests for new functionality.
No regressions in existing tests.
Processed some small projects and quite a bit of CPython without crashing.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Looks sensible for me and the test are nice. Eventually we should port some things from builtindocumentation.py to this? (e.g. range())