Commits

Anonymous committed cfe527b

.

  • Participants
  • Parent commits 54aa990

Comments (0)

Files changed (1)

File pypeg2/__init__.py

                     break
                 _min, _max = 1, 1
             if flag:
-                if len(L) == 0:
+                if len(L) > 1 or how_many(thing) > 1:
+                    result = t, L
+                elif not L:
                     return t, None
-                elif len(L) > 1 or how_many(thing) > 1:
-                    result = t, L
                 else:
                     result = t, L[0]
             else: