File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ Ben Gartner
57
57
Ben Webb
58
58
Benjamin Peterson
59
59
Bernard Pratz
60
+ Bo Wu
60
61
Bob Ippolito
61
62
Brian Dorsey
62
63
Brian Larsen
Original file line number Diff line number Diff line change @@ -812,7 +812,8 @@ def raises( # noqa: F811
812
812
:kwparam str | typing.Pattern[str] | None match:
813
813
If specified, a string containing a regular expression,
814
814
or a regular expression object, that is tested against the string
815
- representation of the exception using :func:`re.search`.
815
+ representation of the exception and its `PEP-678 <https://peps.python.org/pep-0678/>` `__notes__`
816
+ using :func:`re.search`.
816
817
817
818
To match a literal string that may contain :ref:`special characters
818
819
<re-syntax>`, the pattern can first be escaped with :func:`re.escape`.
You can’t perform that action at this time.
0 commit comments