Pythonification of the asterisk-based collection packing/unpacking syntax
Chris Angelico
rosuav at gmail.com
Mon Dec 26 16:01:34 EST 2011
On Tue, Dec 27, 2011 at 7:39 AM, Eelco <hoogendoorn.eelco at gmail.com> wrote:
> Now try it without changing the subject from round braces to
> everything but round braces.
Around here, the term "braces" means the curly ones - { and } - that
delimit blocks of code in C, and dictionaries/sets in Python.
"Brackets" may be what you're looking for, if you mean all of ()[]{}.
Or if you just mean (), they're called "parentheses".
If your point is that parens are used more often than
packing/unpacking, that's almost certainly true, since function calls
(including method invocations) are so prevalent in pretty much any
code. But what does that prove?
ChrisA
More information about the Python-list
mailing list