- ARCHIVE / TAG ARCHIVE
- Python pitfall: Passing Mutable Objects as Default Args
I have a long and nested lists of parameters to throw out with a django template, but the visualization routine in the template processes them better if the parameters are ordered two by two. So I was trying to put together a simple function for reordering the original list accordingly. This is what I came […]