j
k
j a
j l
Nick Coghlan wrote:
Using Guido's original example: d.get(key, [], True).append(value)
Using Guido's original example:
d.get(key, [], True).append(value)
hmm. are you sure you didn't just reinvent setdefault ? </F>
Back to the thread
Back to the list