8000 add functools.partialmethod by JelleZijlstra · Pull Request #1316 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

add functools.partialmethod #1316

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

Merged
merged 1 commit into from
May 23, 2017
Merged

Conversation

JelleZijlstra
Copy link
Member

Plus other cleanup to the py3 functools stub

Plus other cleanup to the py3 functools stub
_Descriptor = Any

class partialmethod(Generic[_T]):
func: Union[Callable[..., _T], _Descriptor]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mypy supports PEP 526 by now, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@matthiaskramm matthiaskramm merged commit 42cd0f5 into python:master May 23, 2017
@JelleZijlstra JelleZijlstra deleted the functools branch May 23, 2017 22:36
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
0