Skip to content

Commit

Permalink
docstring update
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Jul 12, 2017
1 parent b92d73b commit 357a676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynlpl/algorithms.py
Expand Up @@ -43,7 +43,7 @@ def consecutivegaps(n, leftmargin = 0, rightmargin = 0):
begin += 1

def possiblesplits(n, minsplits=2, maxsplits=0):
"""Returns lists of (index,length) tuples, representing all possible splits of a sequence of length n"""
"""Returns lists of (index,length) tuples, representing all possible splits of a sequence of length n."""
if not maxsplits: maxsplits = n
for nrsplits in range(minsplits,maxsplits + 1):
for split in sum_to_n(n,nrsplits):
Expand Down

0 comments on commit 357a676

Please sign in to comment.