From 2bb87cbd23fc960af2c46d9580baf95ed454c39a Mon Sep 17 00:00:00 2001 From: Jean Bredeche Date: Tue, 6 Oct 2015 09:06:05 -0400 Subject: [PATCH] DOC: typo fixes --- zipline/pipeline/factors/factor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zipline/pipeline/factors/factor.py b/zipline/pipeline/factors/factor.py index fd66dd74..c3af8e04 100644 --- a/zipline/pipeline/factors/factor.py +++ b/zipline/pipeline/factors/factor.py @@ -489,7 +489,7 @@ class CustomFactor(RequiredWindowLengthMixin, CustomTermMixin, Factor): Examples -------- - A CustomFactor with pre-declared defaults:: + A CustomFactor with pre-declared defaults: class TenDayRange(CustomFactor): """ @@ -530,7 +530,7 @@ class CustomFactor(RequiredWindowLengthMixin, CustomTermMixin, Factor): from numpy import nanmedian out[:] = data.nanmedian(axis=0) - # Values for `inputs` and `window_length` must be passsed explitly to + # Values for `inputs` and `window_length` must be passed explicitly to # MedianValue. median_close10 = MedianValue([USEquityPricing.close], window_length=10) median_low15 = MedianValue([USEquityPricing.low], window_length=15)