From 4752488c17f3af132d95aeec4d5a6e881b877dc3 Mon Sep 17 00:00:00 2001 From: Andrew Kuchling Date: Tue, 24 Sep 2024 21:50:13 -0400 Subject: [PATCH] PEP8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- Doc/howto/regex.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index 9e7b5c887507d7..2745174cab1a57 100644 --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst @@ -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: