[SciPy-User] adding linear fitting routine
josef.pktd at gmail.com
josef.pktd at gmail.com
Wed Dec 4 17:42:43 EST 2013
On Wed, Dec 4, 2013 at 5:29 PM, Daniele Nicolodi <daniele at grinta.net> wrote:
> On 04/12/2013 23:00, David J Pine wrote:
>> Otherwise, everything is returned, and returned as a dictionary.
>
> I'll repeat myself: a named tuple is the way to go, not a dictionary.
namedtuples have the disadvantage that users use tuple unpacking and
then it breaks again backwards compatibility if any return is changed
in future.
Josef
>
> Cheers,
> Daniele
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
More information about the SciPy-User
mailing list