Skip to content

Commit 05c04ec

Browse files
committed
PEP8
1 parent 961a4ef commit 05c04ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/regex.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ Python 3.8 added assignment expressions that shorten the above pattern
489489
by a line::
490490

491491
p = re.compile( ... )
492-
if (m := p.match( 'string goes here' )):
492+
if (m := p.match('string goes here')):
493493
print('Match found: ', m.group())
494494
else:
495495
print('No match')

0 commit comments

Comments
 (0)