We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 727dc51 + 110a5c3 commit dec2f3fCopy full SHA for dec2f3f
pycodestyle.py
@@ -125,7 +125,7 @@
125
STARTSWITH_DEF_REGEX = re.compile(r'^(async\s+def|def)')
126
STARTSWITH_TOP_LEVEL_REGEX = re.compile(r'^(async\s+def\s+|def\s+|class\s+|@)')
127
STARTSWITH_INDENT_STATEMENT_REGEX = re.compile(
128
- r'^\s*({0})'.format('|'.join(s.replace(' ', '\s+') for s in (
+ r'^\s*({0})'.format('|'.join(s.replace(' ', r'\s+') for s in (
129
'def', 'async def',
130
'for', 'async for',
131
'if', 'elif', 'else',
0 commit comments