Skip to content

Formatter: TypeAlias #5929

@konstin

Description

@konstin

See PEP 695 for details on this python 3.12 feature. Not to be confused with typing.TypeAlias of python 3.10. The goal is to format statements in the form:

# TypeAlias
type ListOrSet[T] = list[T] | set[T]

Metadata

Metadata

Assignees

Labels

formatterRelated to the formatterpython312Related to Python 3.12

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions