From 68c7e8b31d24d2dab751dbc5454b11c3e71453b5 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sat, 13 May 2023 22:06:11 -0700 Subject: [PATCH] fix label --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index be0831588e158d..c300c4257f0e81 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -1552,7 +1552,7 @@ These are not used in annotations. They are building blocks for creating generic .. data:: AnyStr - ``AnyStr`` is a :ref:`constrained type variable <_typing-constrained-typevar>` defined as + ``AnyStr`` is a :ref:`constrained type variable ` defined as ``AnyStr = TypeVar('AnyStr', str, bytes)``. It is meant to be used for functions that may accept any kind of string