summaryrefslogtreecommitdiffstats
path: root/Lib/ast.py
diff options
context:
space:
mode:
authormpheath <58158242+mpheath@users.noreply.github.com>2020-02-13 18:32:09 (GMT)
committerGitHub <noreply@github.com>2020-02-13 18:32:09 (GMT)
commitfbeba8f2481411d608a616366394e07cdc52e0bb (patch)
treebb399824cc23e4903e07bf26d782f09fe48e272b /Lib/ast.py
parentd905df766c367c350f20c46ccd99d4da19ed57d8 (diff)
downloadcpython-fbeba8f2481411d608a616366394e07cdc52e0bb.zip
cpython-fbeba8f2481411d608a616366394e07cdc52e0bb.tar.gz
cpython-fbeba8f2481411d608a616366394e07cdc52e0bb.tar.bz2
bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340)
Diffstat (limited to 'Lib/ast.py')
-rw-r--r--Lib/ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ast.py b/Lib/ast.py
index 495c0d6..511f095 100644
--- a/Lib/ast.py
+++ b/Lib/ast.py
@@ -302,7 +302,7 @@ def _splitlines_no_ff(source):
def _pad_whitespace(source):
- """Replace all chars except '\f\t' in a line with spaces."""
+ r"""Replace all chars except '\f\t' in a line with spaces."""
result = ''
for c in source:
if c in '\f\t':