From 47e9b107ec4cfae3e9542430ed2d2e455335be0d Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Mon, 2 May 2016 15:38:00 -0400 Subject: [PATCH] DOC: Clean up docstring cruft. --- zipline/lib/labelarray.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zipline/lib/labelarray.py b/zipline/lib/labelarray.py index 4c38bbfc..ffd43c2e 100644 --- a/zipline/lib/labelarray.py +++ b/zipline/lib/labelarray.py @@ -184,8 +184,8 @@ class LabelArray(ndarray): In this case, `self` will be the new LabelArray instance, and ``obj` will be the array on which ``view`` is being called. - The caller of ``obj.view`` is responsible for copying setting - category metadata on ``self`` after we exit. + The caller of ``obj.view`` is responsible for setting category + metadata on ``self`` after we exit. 3. Someone creates a new LabelArray by slicing an existing one. @@ -473,7 +473,7 @@ class LabelArray(ndarray): ------- matches : np.ndarray[bool] An array with the same shape as self indicating whether each - element of self ended with ``suffix``.w + element of self ended with ``suffix`` """ return self.apply(lambda elem: elem.endswith(suffix), dtype=bool)