mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)
Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.
This commit is contained in:
parent
ad1a25f499
commit
34fd4c2019
26 changed files with 38 additions and 40 deletions
|
@ -3446,7 +3446,7 @@ tzinfo_fromutc(PyDateTime_TZInfo *self, PyObject *dt)
|
|||
return result;
|
||||
|
||||
Inconsistent:
|
||||
PyErr_SetString(PyExc_ValueError, "fromutc: tz.dst() gave"
|
||||
PyErr_SetString(PyExc_ValueError, "fromutc: tz.dst() gave "
|
||||
"inconsistent results; cannot convert");
|
||||
|
||||
/* fall through to failure */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue