mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 17:47:29 +08:00
functools.singledispatchmethod: add __call__ for better results (#3899)
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
This commit is contained in:
1 parent
5f4ad2b014
commit
591522fb6a
2 files changed
+2
No files matched your search
@@ -97,6 +97,7 @@ dis.stack_effect
|
||||
email.message.MIMEPart.as_string
|
||||
enum.Enum._generate_next_value_
|
||||
functools.partialmethod.__get__
|
||||
functools.singledispatchmethod.__call__ # A lie to reflect that the descriptor get returns a callable
|
||||
gettext.install
|
||||
gettext.translation
|
||||
hmac.compare_digest
|
||||
|
||||
Reference in new issue
Block a user