On Fri, May 23, 2014 at 5:26 PM, Navin Kabra <na...@smriti.com> wrote:

> "Mandar Vaze / मंदार वझे" <mandarv...@gmail.com> writes:
>
> > Code 1:
> > ...
> > return dict(fname=fname, lname=lname, saluation=salutation,
> >          gender=gender, addr1=addr1, addr2=addr2,
> >          city=city, state=state, country=country)
>
> First of all, both functions are returning a single value, a single
> dict.


Yes, I realized that "after the fact" :(


> So the entire discussion of "how many values should I return from a
> function" is irrelevant.
>

The code samples were incorrect - but otherwise the discussion is relevant
I think. (Although I couldn't get direct answer)
Pointer to "dis" module is helpful.

-Mandar
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to