Skip to content

Commit a84c907

Browse files
committed
DOC: more ReST markup edits to get_data docstring
1 parent 28f18ac commit a84c907

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nibabel/spatialimages.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,11 +534,12 @@ def get_data(self, caching='fill'):
534534
True
535535
536536
The array is not yet cached by a call to "get_data", so:
537+
537538
>>> img.in_memory
538539
False
539540
540-
After we call ``get_data`` using the default `caching='fill', the cache
541-
contains a reference to the returned array ``data``:
541+
After we call ``get_data`` using the default `caching` == 'fill', the
542+
cache contains a reference to the returned array ``data``:
542543
543544
>>> data = img.get_data()
544545
>>> img.in_memory

0 commit comments

Comments
 (0)