Skip to content

Conversation

Zheaoli
Copy link
Contributor

@Zheaoli Zheaoli commented Oct 8, 2025

… inspect in annotationlib.get_annotations

Signed-off-by: Manjusaka <[email protected]>
Signed-off-by: Manjusaka <[email protected]>
Signed-off-by: Manjusaka <[email protected]>
Signed-off-by: Manjusaka <[email protected]>
Signed-off-by: Manjusaka <[email protected]>
Signed-off-by: Manjusaka <[email protected]>
>>> add_10 = partial(add, 10)
>>> get_annotations(add_10)
{'b': <class 'int'>, 'c': <class 'int'>, 'return': <class 'int'>}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could refer to the new section below rather that repeating the example, what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants