Skip to content

Include Python 3.12 generic syntax #128

@mark-koch

Description

@mark-koch

Use primarily Python 3.12 generic syntax in the static typing docs (make it clear only supported on Python >=3.12): https://docs.quantinuum.com/guppy/language_guide/static.html#generics

Examples: https://github.com/Quantinuum/guppylang/blob/main/tests/integration/test_poly_py312.py

Include a small section on Python < 3.12 syntax

Metadata

Metadata

Assignees

No one assigned

    Labels

    GuppyV1Issues that relate to Guppy V1 features e.g. modifiers, protocols etc

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions