Beispiel #1
0
 def block_close(self, line):
     m = END_RE.match(line)
     return m and m.group('label') == 'algorithm'
Beispiel #2
0
 def block_close(self, line):
     m = END_RE.match(line)
     return m and m.group('label') == self.name