Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
f6f1ab0d
Commit
f6f1ab0d
authored
Oct 14, 2009
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New test for #409
parent
a07db9eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
tests/bugs.txt
tests/bugs.txt
+1
-0
tests/run/extended_unpacking_T409.pyx
tests/run/extended_unpacking_T409.pyx
+14
-0
No files found.
tests/bugs.txt
View file @
f6f1ab0d
...
...
@@ -8,3 +8,4 @@ unsignedbehaviour_T184
funcexc_iter_T228
bad_c_struct_T252
missing_baseclass_in_predecl_T262
extended_unpacking_T409
tests/run/extended_unpacking_T409.pyx
0 → 100644
View file @
f6f1ab0d
__doc__
=
"""
>>> simple()
(1, 2, [1, 2], [1, 2])
>>> extended()
(1, (), 2, [1, 2], [1, 2])
"""
def
simple
():
a
,
c
=
d
=
e
=
[
1
,
2
]
return
a
,
c
,
d
,
e
def
extended
():
a
,
*
b
,
c
=
d
=
e
=
[
1
,
2
]
return
a
,
b
,
c
,
d
,
e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment