Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb51b08a

Browse files
annotationlib docs: note that ForwardRef.evaluate eventually defaults to empty globals (#134661)
1 parent52509cc commitb51b08a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎Doc/library/annotationlib.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ Classes
211211
means may not have any information about their scope, so passing
212212
arguments to this method may be necessary to evaluate them successfully.
213213

214+
If no *owner*, *globals*, *locals*, or *type_params* are provided and the
215+
:class:`~ForwardRef` does not contain information about its origin,
216+
empty globals and locals dictionaries are used.
217+
214218
..versionadded::3.14
215219

216220

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp