Skip to content

Internal typo in RuleCollectorVisitor.rulses attribute #138257

@picnixz

Description

@picnixz

Bug report

Bug description:

The RuleCollectorVisitor visitor class in Tools/peg_generator/pegen/parser_generator.py has a typo in its attribute, making it annoying for subclasses should they access this attribute. Since the file is internal, there shouldn't be any breakage but I will still create an issue for tracking it just in case.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtopic-parsertriagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions