Skip to content

Commit bb9497d

Browse files
PEP8
Co-authored-by: Guido van Rossum <[email protected]>
1 parent b0258f6 commit bb9497d

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
@@ -996,7 +996,7 @@ desired group's name. Named groups are still given numbers, so you can
996996
retrieve information about a group in two ways::
997997

998998
>>> p = re.compile(r'(?P<word>\b\w+\b)')
999-
>>> m = p.search( '((( Lots of punctuation )))' )
999+
>>> m = p.search('((( Lots of punctuation )))')
10001000
>>> m.group('word')
10011001
'Lots'
10021002
>>> m.group(1)

0 commit comments

Comments
 (0)