Skip to content

Commit 1af039e

Browse files
committed
update docs
1 parent e5ac9ab commit 1af039e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ Functions
769769

770770
.. versionadded:: 4.2.0
771771

772-
.. function:: evaluate_forward_ref(forward_ref, *, owner=None, globals=None, locals=None, type_params=None, format=Format.VALUE)
772+
.. function:: evaluate_forward_ref(forward_ref, *, owner=None, globals=None, locals=None, type_params=None, format=None)
773773

774774
Evaluate an :py:class:`typing.ForwardRef` as a :py:term:`type hint`.
775775

@@ -796,7 +796,7 @@ Functions
796796
This parameter must be provided (though it may be an empty tuple) if *owner*
797797
is not given and the forward reference does not already have an owner set.
798798
*format* specifies the format of the annotation and is a member of
799-
the :class:`Format` enum.
799+
the :class:`Format` enum, defaulting :attr:`Format.VALUE`.
800800

801801
.. versionadded:: 4.13.0
802802

0 commit comments

Comments
 (0)