Skip to content

Commit

Permalink
pythonGH-83162: Unwrap paragraph.
Browse files Browse the repository at this point in the history
  • Loading branch information
achhina committed Dec 3, 2023
1 parent 72480cf commit 1d3d472
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Doc/library/re.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1096,10 +1096,10 @@ Exceptions
.. exception:: PatternError(msg, pattern=None, pos=None)

Exception raised when a string passed to one of the functions here is not a
valid regular expression (for example, it might contain unmatched
parentheses) or when some other error occurs during compilation or matching.
It is never an error if a string contains no match for a pattern. The
``PatternError`` instance has the following additional attributes:
valid regular expression (for example, it might contain unmatched parentheses)
or when some other error occurs during compilation or matching. It is never an
error if a string contains no match for a pattern. The ``PatternError`` instance has
the following additional attributes:

.. attribute:: msg

Expand Down

0 comments on commit 1d3d472

Please sign in to comment.