Skip to content

Add an undocumented mypyc_attr decorator#12

Merged
msullivan merged 1 commit intomasterfrom
mypyc_attr
Sep 21, 2019
Merged

Add an undocumented mypyc_attr decorator#12
msullivan merged 1 commit intomasterfrom
mypyc_attr

Conversation

@msullivan
Copy link
Collaborator

This is an (for-now) undocumented annotation to allow specifying
various hints to mypyc. trait could have used this instead of
being its own thing.

This is an (for-now) undocumented annotation to allow specifying
various hints to mypyc. `trait` could have used this instead of
being its own thing.
@msullivan
Copy link
Collaborator Author

It will have the following typeshed stub:
def mypyc_attr(*attrs: str, **kwattrs: object) -> Callable[[_T], _T]: ...

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants