[Python-checkins] bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340)
mpheath
webhook-mailer at python.org
Thu Feb 13 13:32:14 EST 2020
https://github.com/python/cpython/commit/fbeba8f2481411d608a616366394e07cdc52e0bb
commit: fbeba8f2481411d608a616366394e07cdc52e0bb
branch: master
author: mpheath <58158242+mpheath at users.noreply.github.com>
committer: GitHub <noreply at 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':
More information about the Python-checkins
mailing list