Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an undocumented mypyc_attr decorator #12

Merged
merged 1 commit into from Sep 21, 2019
Merged

Add an undocumented mypyc_attr decorator #12

merged 1 commit into from Sep 21, 2019

Conversation

@msullivan
Copy link
Collaborator

@msullivan msullivan commented Sep 20, 2019

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 msullivan requested review from JukkaL and ilevkivskyi Sep 20, 2019
@msullivan
Copy link
Collaborator Author

@msullivan msullivan commented Sep 20, 2019

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

@msullivan msullivan merged commit 1cd4b86 into master Sep 21, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@msullivan msullivan deleted the mypyc_attr branch Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.