From 61779ff25994abfc926facf4504373ae23355408 Mon Sep 17 00:00:00 2001 From: Brendt Wohlberg Date: Sat, 30 Apr 2022 07:49:53 +0200 Subject: [PATCH] Minor edits for docs style --- scico/numpy/blockarray.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scico/numpy/blockarray.py b/scico/numpy/blockarray.py index 84e409e46..df528f3d3 100644 --- a/scico/numpy/blockarray.py +++ b/scico/numpy/blockarray.py @@ -212,7 +212,7 @@ class BlockArray(list): - """BlockArray class""" + """BlockArray class.""" # Ensure we use BlockArray.__radd__, __rmul__, etc for binary # operations of the form op(np.ndarray, BlockArray) See @@ -233,7 +233,7 @@ def __init__(self, inputs): def dtype(self): """Return the dtype of the blocks, which must currently be homogeneous. - This allows snp.zeros(x.shape, x.dtype) to work without a mechanism + This allows `snp.zeros(x.shape, x.dtype)` to work without a mechanism to handle to lists of dtypes. """ return self[0].dtype