]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340) (GH-22857)
authorIrit Katriel <iritkatriel@yahoo.com>
Wed, 21 Oct 2020 16:20:56 +0000 (17:20 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 16:20:56 +0000 (09:20 -0700)
Automerge-Triggered-By: GH:zware
Lib/ast.py

index d29db80a085fd15faa6c9ccf2095cc3e48f2d218..d197f68a97e18c1cff0425387caf7d512b992dd1 100644 (file)
@@ -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':