Skip to content

Use {} instead of dict() in Tools/cases_generator/record_function_generator.py and Tools/peg_generator/pegen/first_sets.py #145113

@benediktjohannes

Description

@benediktjohannes

I suggest that using {} instead of dict() in Tools/cases_generator/record_function_generator.py and Tools/peg_generator/pegen/first_sets.py should be a little bit better for performance and should be the same in terms of semantics, so I guess that changing this would be a nice and quick fix. 👍

Linked PRs

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