]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340)
authormpheath <58158242+mpheath@users.noreply.github.com>
Thu, 13 Feb 2020 18:32:09 +0000 (04:32 +1000)
committerGitHub <noreply@github.com>
Thu, 13 Feb 2020 18:32:09 +0000 (20:32 +0200)
Lib/ast.py

index 495c0d618f12cd5a35baf892cafbba86b1f466cf..511f0956a00b0bf1a2a6c6999858bf73852a10d4 100644 (file)
@@ -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':