[Python-checkins] [3.8] bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340) (GH-22857)

miss-islington webhook-mailer at python.org
Wed Oct 21 12:21:05 EDT 2020


https://github.com/python/cpython/commit/f3982d666c1df290373a4810edd501b2176b45c7
commit: f3982d666c1df290373a4810edd501b2176b45c7
branch: 3.8
author: Irit Katriel <iritkatriel at yahoo.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020年10月21日T09:20:56-07:00
summary:
[3.8] bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340) (GH-22857)
Automerge-Triggered-By: GH:zware
files:
M Lib/ast.py
diff --git a/Lib/ast.py b/Lib/ast.py
index d29db80a085fd..d197f68a97e18 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':


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /