Skip to content

Commit 77cf791

Browse files
committed
Minor rewording of a couple comments
1 parent 9dd0046 commit 77cf791

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd2/history.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def str_search(self, search: str, include_persisted: bool = False) -> List[Histo
222222
"""Find history items which contain a given string
223223
224224
:param search: the string to search for
225-
:param include_persisted: (optional) if True, then search full history including from persisted history
225+
:param include_persisted: (optional) if True, then search full history including persisted history
226226
:return: a list of history items, or an empty list if the string was not found
227227
"""
228228
def isin(history_item):
@@ -239,7 +239,7 @@ def regex_search(self, regex: str, include_persisted: bool = False) -> List[Hist
239239
"""Find history items which match a given regular expression
240240
241241
:param regex: the regular expression to search for.
242-
:param include_persisted: (optional) if True, then search full history including from persisted history
242+
:param include_persisted: (optional) if True, then search full history including persisted history
243243
:return: a list of history items, or an empty list if the string was not found
244244
"""
245245
regex = regex.strip()

0 commit comments

Comments
 (0)