◐ Shell
clean mode source ↗

Update typing from CPython 3.11.2 by youknowone · Pull Request #4946 · RustPython/RustPython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@youknowone

@youknowone youknowone commented

Apr 29, 2023

edited

Loading

Copy link Copy Markdown

Member

#4564

related to TypedDict

cc @lastmjs

@lastmjs

lastmjs commented

May 4, 2023

Copy link Copy Markdown

Our goal is to be able to use generics with TypedDicts, like this:

class Result(TypedDict, Generic[T, K], total=False):
    Ok: T
    Err: K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@youknowone @lastmjs