Files
catalyst/zipline/utils
Eddie Hebert 1e51dbec0a STY: Use def statements instead of lambda assignment. (#1639)
From pep-0008:

```
Always use a def statement instead of an assignment statement that binds a
lambda expression directly to an identifier.

Yes:

def f(x): return 2*x
No:

f = lambda x: 2*x

The first form means that the name of the resulting function object is
specifically 'f' instead of the generic '<lambda>'. This is more useful for
tracebacks and string representations in general. The use of the assignment
statement eliminates the sole benefit a lambda expression can offer over an
explicit def statement (i.e. that it can be embedded inside a larger expression)
```
2017-01-06 13:39:07 -05:00
..
2015-03-19 17:21:25 -04:00
2016-11-22 16:34:53 -05:00
2016-02-24 14:50:32 -05:00
2016-07-12 13:13:50 -04:00
2016-06-21 15:07:03 -04:00
2016-06-21 15:07:03 -04:00
2015-11-24 16:55:07 -05:00
2016-07-12 13:13:50 -04:00