What is a callback protocol? #1432
Unanswered
superbobry
asked this question in
Q&A
Replies: 1 comment 5 replies
-
A callback protocol only has Maybe the text in the PEP should be clarified :) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it a protocol with exactly a
__call__
method or a protocol with at least a__call__
method?The relevant section in PEP-544 does not clarify that, unfortunately.
Beta Was this translation helpful? Give feedback.
All reactions