Add `ShmArray.last()` docstr

broker_bumpz
Tyler Goodlet 2022-04-07 14:20:40 -04:00
parent 00a7f20292
commit d1f45b0883
1 changed files with 6 additions and 0 deletions

View File

@ -240,7 +240,13 @@ class ShmArray:
def last(
self,
length: int = 1,
) -> np.ndarray:
'''
Return the last ``length``'s worth of ("row") entries from the
array.
'''
return self.array[-length:]
def push(