Skip to content
This repository was archived by the owner on Dec 13, 2020. It is now read-only.
This repository was archived by the owner on Dec 13, 2020. It is now read-only.

Incompatible with f strings in Python 3.6 #24

@Benjamin-Lee

Description

@Benjamin-Lee

As the title says, the current version is incompatible with f strings in Python 3.6.

>>> print(Color("{autored}hi{/red}"))
hi
>>> print(Color(f"{autored}hi{/red}"))
  File "<fstring>", line 1
    (/red)
     ^
SyntaxError: invalid syntax

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