summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrit Katriel <iritkatriel@yahoo.com>2020-10-21 16:20:56 (GMT)
committerGitHub <noreply@github.com>2020-10-21 16:20:56 (GMT)
commitf3982d666c1df290373a4810edd501b2176b45c7 (patch)
tree853c16b00e3ab1946953a12dab4d49e2fc40e043
parentc756c2b507b088919ac0c1aa8b0d8c8bdbdd75ee (diff)
downloadcpython-f3982d666c1df290373a4810edd501b2176b45c7.zip
cpython-f3982d666c1df290373a4810edd501b2176b45c7.tar.gz
cpython-f3982d666c1df290373a4810edd501b2176b45c7.tar.bz2
[3.8] bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340) (GH-22857)
Automerge-Triggered-By: GH:zware
-rw-r--r--Lib/ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ast.py b/Lib/ast.py
index d29db80..d197f68 100644
--- a/Lib/ast.py
+++ b/Lib/ast.py
@@ -285,7 +285,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':