Skip to content

Add support for generators #4

Description

@oksome

Tumulus supports building lists using Python's list comprehension, but not using generators. This should be fixed so that the following would work :

t.ul(
    t.li(str(i)) 
    for i in range(10)
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions