Message241128
| Author |
wiggin15 |
| Recipients |
martin.panter, skip.montanaro, steven.daprano, ulaganathanm123@gmail.com, wiggin15, worr |
| Date |
2015年04月15日.16:31:38 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1429115498.61.0.689274556165.issue23949@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I fixed the tests (that's important!) and changed the latter message to specify it is referring to the starred target (the term "starred target" appears in the docs in simple_stmts.rst). Looks like the number in that message was wrong before!
The test looked like this:
>>> a, *b, c, d, e = 0, 1, 2
ValueError: need more than 3 values to unpack
Need more than 3? Not exactly.
The new message looks like this:
>>> a, *b, c, d, e = 0, 1, 2
ValueError: not enough values to unpack into starred target (expected at least 4, got 3) |
|