Question about consistency in python language

Mike Meyer mwm at mired.org
Thu Sep 8 21:30:01 EDT 2005


Dave Benjamin <ramen at lackingtalent.com> writes:
> Python is actually quite consistent in this regard: methods that
> modify an object in-place return None;

Um, no. list.pop comes to mind as an immediate counterexample. It may
be the only one...

   <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list