mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +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
|
|
@ -2021,7 +2021,7 @@ class Decimal(object):
|
|||
if not other and not self:
|
||||
return context._raise_error(InvalidOperation,
|
||||
'at least one of pow() 1st argument '
|
||||
'and 2nd argument must be nonzero ;'
|
||||
'and 2nd argument must be nonzero; '
|
||||
'0**0 is not defined')
|
||||
|
||||
# compute sign of result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue