Fix inconsistent expr_lambda formatting (#6318)

This commit is contained in:
qdegraaf 2023-09-08 11:40:58 +02:00 committed by GitHub
parent c260762900
commit 05951dd338
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 109 additions and 4 deletions

View file

@ -118,3 +118,38 @@ lambda a, /, c: a
# 4
None # 5
)
(
lambda
# comment
*x: x
)
(
lambda
# comment 1
*
# comment 2
x:
# comment 3
x
)
(
lambda # comment 1
* # comment 2
x: # comment 3
x
)
lambda *x\
:x
(
lambda
# comment
*\
x: x
)