Skip to content

Commit 2b26af0

Browse files
committed
fix doctest
1 parent f59d4fb commit 2b26af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This example shows how these formats behave:
108108
...
109109
NameError: name 'Undefined' is not defined
110110
>>> get_annotations(func, format=Format.FORWARDREF)
111-
{'arg': ForwardRef('Undefined')}
111+
{'arg': ForwardRef('Undefined', owner=<function func at 0x...>)}
112112
>>> get_annotations(func, format=Format.STRING)
113113
{'arg': 'Undefined'}
114114

0 commit comments

Comments
 (0)