summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_unpack_ex.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_unpack_ex.py b/Lib/test/test_unpack_ex.py
index c201d08..9e2d54b 100644
--- a/Lib/test/test_unpack_ex.py
+++ b/Lib/test/test_unpack_ex.py
@@ -26,6 +26,12 @@ Unpack implied tuple
>>> a == [7, 8, 9]
True
+Unpack nested implied tuple
+
+ >>> [*[*a]] = [[7,8,9]]
+ >>> a == [[7,8,9]]
+ True
+
Unpack string... fun!
>>> a, *b = 'one'