コード例 #1
0
 def __init__(self, containerBibleObject: Bible, BBB: str) -> None:
     """
     Create the uW OBS Bible book object.
     """
     BibleBook.__init__(self, containerBibleObject,
                        BBB)  # Initialise the base class
     self.objectNameString = 'uW OBS Bible Book object'
     self.objectTypeString = 'uW OBS'
コード例 #2
0
ファイル: USFM2BibleBook.py プロジェクト: janfri/BibleOrgSys
    def __init__(self, containerBibleObject: Bible, BBB: str) -> None:
        """
        Create the USFM2 Bible book object.
        """
        BibleBook.__init__(self, containerBibleObject,
                           BBB)  # Initialise the base class
        self.objectNameString = 'USFM2 Bible Book object'
        self.objectTypeString = 'USFM2'

        global sortedNLMarkers
        if sortedNLMarkers is None:
            sortedNLMarkers = sorted(
                USFM2Markers.getNewlineMarkersList('Combined'),
                key=len,
                reverse=True)