Gary Kotton
bc895486ba
Removes the use of mutables as default args
...
Passing mutable objects as default args is a known Python pitfall.
We'd better avoid this. This commit changes mutable default args with
None, 'arg = [] if arg is None else arg'.
TrivialFix
Change-Id: I2909b111266c696bcdcd26db167d3ad5e0603e45
2016-06-19 10:27:48 -07:00
..
2016-05-31 11:51:17 -04:00
2014-01-07 21:05:01 +08:00
2015-08-12 14:53:00 +01:00
2015-02-02 06:51:22 -08:00
2016-04-19 11:29:32 +08:00
2016-02-04 22:40:54 +02:00
2016-03-24 15:51:38 +00:00
2016-05-16 20:53:14 +00:00
2015-12-10 15:23:40 +00:00
2015-04-10 09:09:53 -07:00
2015-10-23 06:20:37 -07:00
2015-05-06 14:17:28 -07:00
2016-03-07 10:06:03 +00:00
2016-01-04 15:39:57 +00:00
2014-08-26 21:18:11 +05:30
2015-09-29 10:52:28 +09:00
2016-02-04 22:40:54 +02:00
2016-05-25 11:59:13 +08:00
2015-03-12 20:45:59 +01:00
2016-05-30 11:04:23 -04:00
2015-09-14 15:52:31 +00:00
2016-06-01 10:25:05 -04:00
2014-11-13 10:48:34 +08:00
2016-06-19 10:27:48 -07:00
2016-06-07 09:13:22 -04:00
2016-03-14 19:23:54 -07:00
2016-05-25 11:59:13 +08:00