From 2dd31e443d3d36a7cf4d5316132199526268ebb0 Mon Sep 17 00:00:00 2001 From: "deepsource-totalanarchy[bot]" <107136100+deepsource-totalanarchy[bot]@users.noreply.github.com> Date: Thu, 15 Sep 2022 16:03:10 +0000 Subject: [PATCH] Put starred assignment target in a tuple --- assignment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assignment.py b/assignment.py index f401a7daf..e1229041e 100644 --- a/assignment.py +++ b/assignment.py @@ -1,3 +1,3 @@ -*FIRST = [1, 2, 3] +(*FIRST,) = [1, 2, 3] (*FIRST,) = [1, 2, 3] *FIRST, a, b = [1, 2, 3]