10000 support python 3.12 type alias syntax · Issue #265 · MagicStack/MagicPython · GitHub
[go: up one dir, main page]

Skip to content
support python 3.12 type alias syntax #265
Open
@DetachHead

Description

@DetachHead

python 3.12 introduced new syntax for type aliases:

type Foo = int

this is currently highlighted incorrectly:

image

(the type keyword should be blue and the Foo name should be green)

related: #262

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0