Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 132
Closed
Description
In [6]: @runtime_checkable ...: classBaseBadge(Protocol): ...: def__init__(self) ->None: ... In [7]: BaseBadge.__init__Out[7]: <functiontyping._no_init_or_replace_init(self, *args, **kwargs)>This behaviour is not consistent with python 3.11
>>> from typing import* >>> @runtime_checkable ... classBaseBadge(Protocol): ... def__init__(self) -> None: ... ... >>> BaseBadge.__init__ <function BaseBadge.__init__ at 0x104f249a0>This may have made me slightly concerned I was loosing my sanity in a subclass today 😀
Metadata
Metadata
Assignees
Labels
No labels