From 7995e6ac0d0b81ec08ccac2108ad5342e4914bfe Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Mon, 9 Jun 2014 17:40:57 -0400 Subject: [PATCH] DOC: Tweaks to docstrings in `history.py` and `history_container.py`. --- zipline/history/history.py | 2 +- zipline/history/history_container.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zipline/history/history.py b/zipline/history/history.py index e5b147b3..f9779110 100644 --- a/zipline/history/history.py +++ b/zipline/history/history.py @@ -248,7 +248,7 @@ class HistorySpec(object): @property def ffill(self): """ - Wrapper around ffill that returns False for fields which are not + Wrapper around self._ffill that returns False for fields which are not forward-fillable. """ return self._ffill and self.field in self.FORWARD_FILLABLE diff --git a/zipline/history/history_container.py b/zipline/history/history_container.py index 38811c88..83f088f6 100644 --- a/zipline/history/history_container.py +++ b/zipline/history/history_container.py @@ -100,7 +100,7 @@ def ffill_digest_frame_from_prior_values(field, digest_frame, prior_values): def freq_str_and_bar_count(history_spec): """ - Helper for getting the frequency string from a history spec. + Helper for getting the frequency string and bar count from a history spec. """ return (history_spec.frequency.freq_str, history_spec.bar_count)