j
k
j a
j l
Jim Jewett wrote:
Part of the problem with setdefault is that calculating the default can be expensive.
There's already a superior replacement for setdefault, i.e. use a defaultdict. -- Greg
Back to the thread
Back to the list