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