Skip to content

Commit

Permalink
updated doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
flexatone committed Oct 3, 2022
1 parent 7e7f871 commit 89cbb12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions static_frame/core/memory_measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def gen() -> tp.Iterator[int]:
return sum(gen())

class MemoryDisplay:
'''A simple container of capturing memory usage in bytes for StaticFrame container.
'''A simple container for capturing and displaying memory usage in bytes for StaticFrame containers.
'''

__slots__ = (
Expand All @@ -213,7 +213,7 @@ def from_any(cls,
obj: tp.Any,
label_component_pairs: tp.Iterable[tp.Tuple[str, tp.Any]] = (),
) -> 'MemoryDisplay':
'''Given any slotted object, return a ``MemoryDisplay`` instance.
'''Given any slotted object, return a :obj:`MemoryDisplay` instance.
'''
from static_frame.core.frame import Frame
Expand Down Expand Up @@ -255,7 +255,7 @@ def __repr__(self) -> str:
return self._repr

def to_frame(self) -> 'Frame':
'''A return a Frame of bytes counts.
'''Return a Frame of byte counts.
'''
return self._frame

0 comments on commit 89cbb12

Please sign in to comment.