-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
We have explained the Any trick to contributors and users several times, usually related to re
stubs, but also a few times in other cases, like #8069 and #10564 (comment).
Maybe we should explain it in CONTRIBUTING.md (or some other file) and comment usages of the Any trick, something like this?
def foo(
bla bla bla: BlaBlaBla,
bla bla bla: BlaBlaBla,
) -> Foo | Any: ... # "the Any trick", see CONTRIBUTING.md
AlexWaygood and Avasam
Metadata
Metadata
Assignees
Labels
No labels