pgn_read/core/game.py
def append_other_or_disambiguation_pgn(self, match):
        """Delegate non-promotion indicator lower case match to superclass.

        A '=[QRBNqrbn]' at start of match when already processed by peek-ahead
        is ignored.

        A match that is not also a match when converted to lower case is an
        error, even if the superclass would accept it, except when it means
        a bishop capture on ranks 1 or 8 with bishop symbol in lower case.

        Otherwise delegate to superclass.

        """
        if self._promotion_disambiguation_detected:
            del self._promotion_disambiguation_detected
            if disambiguate_promotion_format.match(match.group()):
                return
        pgn_match = text_format.match(match.group().lower())
        if pgn_match is None:
            self.append_token_and_set_error(match)
            return
        mgt = match.group()
        mgt = mgt[0] + mgt[1:].lower()
        if (pgn_match.lastindex == IFG_OTHER_WITH_NON_NEWLINE_WHITESPACE and
            mgt.startswith('bx')):
            bishop = import_format.match(mgt[0].upper()+mgt[1:])
            if bishop and bishop.lastindex == IFG_PIECE_DESTINATION:
                super(GameTextPGN, self).append_piece_move(bishop)
                return
        super().append_other_or_disambiguation_pgn(pgn_match)
Delegate non-promotion indicator lower case match to superclass.

        A '=[QRBNqrbn]' at start of match when already processed by peek-ahead
        is ignored.

        A match that is not also a match when converted to lower case is an
        error, even if the superclass would accept it, except when it means
        a bishop capture on ranks 1 or 8 with bishop symbol in lower case.

        Otherwise delegate to superclass.

        
Delegate non-promotion indicator lower case match to superclass.
A '=[QRBNqrbn]' at start of match when already processed by peek-ahead
is ignored.

A match that is not also a match when converted to lower case is an
error, even if the superclass would accept it, except when it means
a bishop capture on ranks 1 or 8 with bishop symbol in lower case.

Otherwise delegate to superclass.
Delegate non - promotion indicator lower case match to superclass . A ' = [ QRBNqrbn ] ' at start of match when already processed by peek - ahead is ignored . A match that is not also a match when converted to lower case is an error even if the superclass would accept it except when it means a bishop capture on ranks 1 or 8 with bishop symbol in lower case . Otherwise delegate to superclass .
def append_other_or_disambiguation_pgn(self, match):
        if self._promotion_disambiguation_detected:
            del self._promotion_disambiguation_detected
            if disambiguate_promotion_format.match(match.group()):
                return
        pgn_match = text_format.match(match.group().lower())
        if pgn_match is None:
            self.append_token_and_set_error(match)
            return
        mgt = match.group()
        mgt = mgt[0] + mgt[1:].lower()
        if (pgn_match.lastindex == IFG_OTHER_WITH_NON_NEWLINE_WHITESPACE and
            mgt.startswith('bx')):
            bishop = import_format.match(mgt[0].upper()+mgt[1:])
            if bishop and bishop.lastindex == IFG_PIECE_DESTINATION:
                super(GameTextPGN, self).append_piece_move(bishop)
                return
        super().append_other_or_disambiguation_pgn(pgn_match)
def append_other_or_disambiguation_pgn ( self , match ) : if self . _promotion_disambiguation_detected : del self . _promotion_disambiguation_detected if disambiguate_promotion_format . match ( match . group ( ) ) : return pgn_match = text_format . match ( match . group ( ) . lower ( ) ) if pgn_match is None : self . append_token_and_set_error ( match ) return mgt = match . group ( ) mgt = mgt [ 0 ] + mgt [ 1 : ] . lower ( ) if ( pgn_match . lastindex == IFG_OTHER_WITH_NON_NEWLINE_WHITESPACE and mgt . startswith ( 'bx' ) ) : bishop = import_format . match ( mgt [ 0 ] . upper ( ) + mgt [ 1 : ] ) if bishop and bishop . lastindex == IFG_PIECE_DESTINATION : super ( GameTextPGN , self ) . append_piece_move ( bishop ) return super ( ) . append_other_or_disambiguation_pgn ( pgn_match )
Delegate non-promotion indicator lower case match to superclass.
Delegate non - promotion indicator lower case match to superclass .
"""Delegate non-promotion indicator lower case match to superclass.

        A '=[QRBNqrbn]' at start of match when already processed by peek-ahead
        is ignored.

        A match that is not also a match when converted to lower case is an
        error, even if the superclass would accept it, except when it means
        a bishop capture on ranks 1 or 8 with bishop symbol in lower case.

        Otherwise delegate to superclass.

        """
self
match