◐ Shell
clean mode source ↗

gh-119180: Improvements to ForwardRef.evaluate by JelleZijlstra · Pull Request #122210 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

Noticed some issues while writing documentation for this method.

JelleZijlstra

return value
if owner is None:
owner = self.__owner__
if type_params is None and owner is None:

Choose a reason for hiding this comment

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

This check felt unnecessarily strict; many ForwardRefs can be evaluated correctly without worrying about type params.

blhsing pushed a commit to blhsing/cpython that referenced this pull request

Aug 22, 2024
Noticed some issues while writing documentation for this method.

Labels

1 participant

@JelleZijlstra