Mercurial > hg
comparison mercurial/__init__.py @ 26311:60dd8e3977f0
util: avoid mutable default arguments
I almost introduced a bug around this code by accidentally mutating a default
argument. There's no reason for these to exist.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 22 Sep 2015 16:55:18 -0700 |
parents | 9117c6561b0b |
children | 4374d819ccd5 |
comparison
equal
deleted
inserted
replaced
26310:61efe9ef6ad4 | 26311:60dd8e3977f0 |
---|