Skip to content

Files

Latest commit

 

History

History
7 lines (4 loc) · 369 Bytes

confusing-with-statement.md

File metadata and controls

7 lines (4 loc) · 369 Bytes

Pattern: Confusing with statement

Issue: -

Description

Emitted when a with statement component returns multiple values and uses name binding with as only for a part of those values, as in with ctx() as a, b. This can be misleading, since it's not clear if the context manager returns a tuple or if the node without a name binding is another context manager.