No trees in the stdlib?

Stefan Behnel stefan_ml at behnel.de
Fri Jun 26 02:48:52 EDT 2009


João Valverde wrote:
> Besides some interface glitches, like returning None
> on delete if I recall correctly.

That's actually not /that/ uncommon. Operations that change an object are
not (side-effect free) functions, so it's just purity if they do not have a
return value.

Although practicality beats purity, sometimes... ;)

Stefan



More information about the Python-list mailing list