summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authormpheath <58158242+mpheath@users.noreply.github.com>2020-02-14 04:32:09 +1000
committerGitHub <noreply@github.com>2020-02-13 20:32:09 +0200
commitfbeba8f2481411d608a616366394e07cdc52e0bb (patch)
treebb399824cc23e4903e07bf26d782f09fe48e272b /Lib
parentd905df766c367c350f20c46ccd99d4da19ed57d8 (diff)
downloadcpython-git-fbeba8f2481411d608a616366394e07cdc52e0bb.tar.gz
bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ast.py b/Lib/ast.py
index 495c0d618f..511f0956a0 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':