mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-11 01:22:17 +08:00
DOC: Tweaks to docstrings in history.py and history_container.py.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user