示例#1
0
 def _characters(self):
     int_reference_0 = int(utils.int_reference(self._number, 0, 0))
     for character in self._translation.characters().all():
         for passage in character.passages:
             if (int(utils.int_reference(passage.book_start.number, 0, 0))
                     <= int_reference_0 <= int(
                         utils.int_reference(passage.book_end.number, 0,
                                             0))):
                 yield character
                 break
示例#2
0
 def int_reference(self):
     return utils.int_reference(self._book.number)
示例#3
0
 def int_reference(self):
     return utils.int_reference(self._book.number, self._chapter.number,
                                self._number)