FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

functools.singledispatchmethod: add __call__ for better results by hauntsaninja · Pull Request #3899 · python/typeshed · GitHub

Repository navigation

functools.singledispatchmethod: add __call__ for better results - #3899

Merged
JelleZijlstra merged 3 commits into
python:masterfrom
hauntsaninja:singdisp
Apr 4, 2020
Merged

JelleZijlstra merged 3 commits into
python:masterfrom
hauntsaninja:singdisp

Conversation

Copy link
Copy Markdown
Collaborator

It doesn't actually have call, it does some descriptor stuff, but
this makes things work. _SingleDispatchCallable has a call too,
which is what this mirrors.

Fixes #3898

It doesn't actually have __call__, it does some descriptor stuff, but
this makes things work. _SingleDispatchCallable has a __call__ too,
which is what this mirrors.

Fixes python#3898

cosenal commented Apr 2, 2020

Copy link
Copy Markdown

@hauntsaninja Thanks, that was quick! I see Travis is failing on stubtest py38 though 🤔

JelleZijlstra merged commit 591522f into python:master Apr 4, 2020
hauntsaninja deleted the singdisp branch April 4, 2020 00:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

@singledispatchmethod fails mypy validation

3 participants


Back | FazBrowse Home | New Git URL