Can Python function return multiple data?

Thomas Rachel nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915 at spamschutz.glglgl.de
Wed Jun 3 09:56:53 EDT 2015


Am 03.06.2015 um 01:56 schrieb Chris Angelico:

> and it's pretty convenient. In C, the nearest equivalent is passing a
> number of pointers as parameters, and having the function fill out
> values. Python's model is a lot closer to what you're saying than C's
> model is :)

At least, C functions can return structs...

Thomas



More information about the Python-list mailing list