PEP 701: Correct indentation in the rejected ideas section (#3155)
This commit is contained in:
parent
b9140bed84
commit
0a6dd6794e
|
@ -578,7 +578,7 @@ Rejected Ideas
|
|||
>>> f'Useless use of lambdas: { lambda x: x*2 }'
|
||||
SyntaxError: unexpected EOF while parsing
|
||||
|
||||
The reason is that this will introduce a considerable amount of
|
||||
The reason is that this will introduce a considerable amount of
|
||||
complexity for no real benefit. This is due to the fact that the ``:`` character
|
||||
normally separates the f-string format specification. This format specification
|
||||
is currently tokenized as a string. As the tokenizer MUST tokenize what's on the
|
||||
|
|
Loading…
Reference in New Issue