Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
  • Loading branch information
akuchling and picnixz authored Sep 25, 2024
1 parent 23c2934 commit 4752488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/howto/regex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ In actual programs, the most common style is to store the
Python 3.8 added assignment expressions that shorten the above pattern
by a line::

p = re.compile( ... )
p = re.compile(...)
if (m := p.match( 'string goes here' )):
print('Match found: ', m.group())
else:
Expand Down

0 comments on commit 4752488

Please sign in to comment.