diff cpt.py @ 4:da1be0114755 draft default tip

planemo upload commit 471832a126aa25d903becae9a074a6b7b1ff7092-dirty
author cpt
date Fri, 20 Sep 2024 04:02:16 +0000
parents f7afd1480d0f
children
line wrap: on
line diff
--- a/cpt.py	Fri Sep 20 03:52:29 2024 +0000
+++ b/cpt.py	Fri Sep 20 04:02:16 2024 +0000
@@ -148,7 +148,7 @@
             if index % 3 != 0:
                 continue
             n = s[start:index]
-            for (offset, n, t) in self.start_chop_and_trans(n):
+            for offset, n, t in self.start_chop_and_trans(n):
                 if n and len(t) >= self.min_len:
                     yield start + offset, n, t
             start = index
@@ -295,7 +295,7 @@
             if index % 3 != 0:
                 continue
             n = s[start:index]
-            for (offset, n, t) in self.start_chop_and_trans(n):
+            for offset, n, t in self.start_chop_and_trans(n):
                 if n and len(t) >= self.min_len:
                     yield start + offset, n, t
             start = index