From 4cfbb12ab527cbd32851e5d54bbb045ae2c6e2a7 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Wed, 7 Jun 2017 18:22:30 -0400 Subject: [PATCH] DOC: Fix typo in docstring. --- zipline/lib/_factorize.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/lib/_factorize.pyx b/zipline/lib/_factorize.pyx index e14a2039..3b84662e 100644 --- a/zipline/lib/_factorize.pyx +++ b/zipline/lib/_factorize.pyx @@ -15,7 +15,7 @@ cdef inline double log2(double d): cpdef inline smallest_uint_that_can_hold(Py_ssize_t maxval): - """Choose the smallest numpy unsigned int dtype that can hold ``size``. + """Choose the smallest numpy unsigned int dtype that can hold ``maxval``. """ if maxval < 1: # lim x -> 0 log2(x) == -infinity so we floor at uint8