Fix 2 typos. Thanks Johan Musaeus Bruun.
This commit is contained in:
parent
31ed37e00e
commit
c8910c0c71
|
@ -294,7 +294,7 @@ For example, this code::
|
|||
|
||||
Might be be evaluated as::
|
||||
|
||||
'abc' + expr1.__format__(spec1) + repr(expr2).__format__(spec2) + 'def' + str(spec3).__format__('') + 'ghi'
|
||||
'abc' + expr1.__format__(spec1) + repr(expr2).__format__(spec2) + 'def' + str(expr3).__format__('') + 'ghi'
|
||||
|
||||
Expression evaluation
|
||||
---------------------
|
||||
|
@ -372,7 +372,7 @@ yields the value::
|
|||
While the exact method of this run time concatenation is unspecified,
|
||||
the above code might evaluate to::
|
||||
|
||||
'ab' + x.__format__('') + '{c}' + 'str<' + y.__format__('^4') + 'de'
|
||||
'ab' + x.__format__('') + '{c}' + 'str<' + y.__format__('^4') + '>de'
|
||||
|
||||
Error handling
|
||||
--------------
|
||||
|
|
Loading…
Reference in New Issue