On 27/11/12 09:02, Steven D'Aprano wrote:
Here's my attempt:
def _setMultRespDefsEx(multRespDefs): """Format a dictionary of stuff as a string. Expects that dict contains:
[...]
KNOWN BUGS: 1) Sometimes this function returns a dict instead of a string. 2) The formatted string output is ambiguous. """
Oops, I forgot one: 3) This modifies the input argument. Never call this function except on a temporary deep copy of your dict. -- Steven _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor