Skip to content
Prev Previous commit
Next Next commit
Update typing to search
  • Loading branch information
hugovk committed Apr 4, 2026
commit 2fd623670bd34adb920cf9d9288bd3fd3a80c861
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3797,7 +3797,7 @@ Aliases to other concrete types
Match

Deprecated aliases corresponding to the return types from
:func:`re.compile` and :func:`re.match`.
:func:`re.compile` and :func:`re.search`.

These types (and the corresponding functions) are generic over
:data:`AnyStr`. ``Pattern`` can be specialised as ``Pattern[str]`` or
Expand Down