Timeline for answer to python struct - help understanding some syntax by kichik
Current License: CC BY-SA 3.0
Post Revisions
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 18, 2017 at 20:49 | vote | accept | Community Bot | ||
| Jul 18, 2017 at 20:49 | comment | added | user2672288 | awesome, it didn't make sense to me either in the sense of pack instead of unpack. pleased to know it is a bug and your code above is actually exactly what im after. thanks! | |
| Jul 18, 2017 at 19:01 | comment | added | robyschek |
It's surely a bug. It's unpack that requires [0] when processing single values. Probably we have to blame the misleading name of the accumulator (unpacked)
|
|
| Jul 18, 2017 at 18:56 | history | answered | kichik | CC BY-SA 3.0 |