Пример #1
0
 def _yield_header_targets(self, introduction):
     headers = HeaderFormatter()
     for line in introduction.splitlines():
         match = headers.match(line)
         if match:
             yield match.group(2)
Пример #2
0
 def _yield_header_targets(self, introduction):
     headers = HeaderFormatter()
     for line in introduction.splitlines():
         match = headers.match(line)
         if match:
             yield match.group(2)