mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
PR: 249549 PR: 249550 PR: 249570 PR: 249734 PR: 249735 PR: 249738 Approved by: desktop (tcberner) Obtained from: ArchLinux, see Bugzilla PRs for details
14 lines
348 B
Python
14 lines
348 B
Python
--- tools/libtpcodegen.py.orig 2014-05-07 14:28:02 UTC
|
|
+++ tools/libtpcodegen.py
|
|
@@ -167,7 +167,10 @@ class _SignatureIter:
|
|
def __init__(self, string):
|
|
self.remaining = string
|
|
|
|
- def next(self):
|
|
+ def __iter__(self):
|
|
+ self
|
|
+
|
|
+ def __next__(self):
|
|
if self.remaining == '':
|
|
raise StopIteration
|
|
|