Skip to content

5.3. Tuples and Sequences section should have the explanation of the indirect way of tuple comprehensions #135092

Closed as not planned
@hyperkai

Description

@hyperkai

5.3. Tuples and Sequences should have the explanation of the indirect way of tuple comprehensions as shown below:

Tuple comprehensions are not supported but if you really want them, do this with tuple() as shown below:

squares = tuple(x**2 for x in range(10))

Metadata

Metadata

Assignees

Labels

docsDocumentation in the Doc dir

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions