X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/8c74d7901fe8de0abd72a182d775b639b4202577..5070a24121ca3a00bbb40b89f60d731fabbf8c52:/tests/expression.py diff --git a/tests/expression.py b/tests/expression.py index cc6f399..9221c8e 100644 --- a/tests/expression.py +++ b/tests/expression.py @@ -273,7 +273,8 @@ lambda a, b, c=True, *, d=(1 << v2), e="str": a lambda a, b, c=True, *vararg, d=(v1 << 2), e="str", **kwargs: a + b manylambdas = lambda x=lambda y=lambda z=1: z: y(): x() foo = lambda port_id, ignore_missing: { - "port1": port1_resource, "port2": port2_resource + "port1": port1_resource, + "port2": port2_resource, }[port_id] 1 if True else 2 str or None if True else str or bytes or None