Skip to content

pycscope fails with f-string #51

@rscellgh

Description

@rscellgh

pycscope cannot parse
print(f"Found {num} devices.")

I hacked init.py to have f as a keyword.
kwlist.extend(("True", "False", "None", "f"))

Works now.. but I am sure there is a better fix.

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