comparison mercurial/mpatch_module.c @ 31393:8b6927eb7efd

util: don't use mutable default argument value I don't think this is any tight loops and we'd need to worry about PyObject creation overhead. Also, I'm pretty sure strptime() will be much slower than PyObject creation (date parsing is surprisingly slow).
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 12 Mar 2017 21:54:32 -0700
parents 155f0cc3f813
children 5fc3459d0493
comparison
equal deleted inserted replaced
31392:6168d4b93634 31393:8b6927eb7efd