bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340)
https://github.com/python/cpython/commit/fbeba8f2481411d608a616366394e07cdc5... commit: fbeba8f2481411d608a616366394e07cdc52e0bb branch: master author: mpheath <58158242+mpheath@users.noreply.github.com> committer: GitHub <noreply@github.com> date: 2020-02-13T20:32:09+02:00 summary: bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340) files: M Lib/ast.py diff --git a/Lib/ast.py b/Lib/ast.py index 495c0d618f12c..511f0956a00b0 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':
participants (1)
-
mpheath