X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/1d2d7264ec7c448744b771910cc972da03b1cb80..3980b4b1767a35c6d99f9231f14d4690d0a270c2:/tests/data/pep_572.py?ds=inline diff --git a/tests/data/pep_572.py b/tests/data/pep_572.py index 637b3bb..c6867f2 100644 --- a/tests/data/pep_572.py +++ b/tests/data/pep_572.py @@ -2,7 +2,7 @@ (a := a) if (match := pattern.search(data)) is None: pass -if (match := pattern.search(data)): +if match := pattern.search(data): pass [y := f(x), y ** 2, y ** 3] filtered_data = [y for x in data if (y := f(x)) is None] @@ -43,5 +43,5 @@ foo(c=(b := 2), a=1) while x := f(x): pass -while (x := f(x)): +while x := f(x): pass