Skip to content

Conversation

@Agent-Hellboy
Copy link

@Agent-Hellboy Agent-Hellboy commented Nov 22, 2023

Screenshot from 2023-11-22 23-19-47
I don't have enough expertise with type annotation, adding draft PR to get some feedback on whether I am doing it correctly or not, and some feedback on what should I do for the above errors

e.g for heapq.py:381: error: "Callable[[], tuple[Any, ...] | list[Any]]" has no attribute "__self__" [attr-defined]

callable doesn't have self do we have anything for the bound method in typing or do I need to do anything with Protocol?

@tusharsadhwani
Copy link
Collaborator

Sorry for the delays! I will look over this on the weekend.

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