projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Spacing tweak.
[python_utils.git]
/
string_utils.py
diff --git
a/string_utils.py
b/string_utils.py
index 6ce4c50311393a11370a47081f7baa2af6f7e3da..4127079fc0a1b5670e676986421fad26009a3733 100644
(file)
--- a/
string_utils.py
+++ b/
string_utils.py
@@
-1893,7
+1893,7
@@
def ngrams(txt: str, n: int):
def ngrams_presplit(words: Sequence[str], n: int):
"""
- Same as :meth:
ngrams
but with the string pre-split.
+ Same as :meth:
`ngrams`
but with the string pre-split.
"""
return list_utils.ngrams(words, n)