Question about raise and exceptions.
Ben Finney
bignose+hates-spam at benfinney.id.au
Thu Mar 1 16:19:07 EST 2007
"bruno.desthuilliers at gmail.com" <bruno.desthuilliers at gmail.com> writes:
> On 1 mar, 04:46, Daniel Klein <danielklei... at gmail.com> wrote:
> > Thanks for setting me straight. I had (wrongly) thought that the
> > stuff inside of () was a tuple.
>
> For the record, it's the ',' that makes the tuple. The () are (in
> this context) the call operator.
For the further record, in the context of a function call, the ','
isn't making a tuple. It's separating the arguments to the function.
--
\ "My house is made out of balsa wood, so when I want to scare |
`\ the neighborhood kids I lift it over my head and tell them to |
_o__) get out of my yard or I'll throw it at them." -- Steven Wright |
Ben Finney
More information about the Python-list
mailing list