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