intficpy/parser.py
def checkForImplicitObjects(self):
        """
        Raises AbortTurn in the event of a missing direct or indirect
        object.

        Returns None, or a list of two items, either lists of strings, or None
        """
        implicit_get_failed = False
        if (
            self.command.verb.hasDobj
            and not self.command.dobj.tokens
            and self.command.verb.impDobj
        ):
            self.command.dobj.target = self.command.verb().getImpDobj(self.game)
            if not self.command.dobj.target:
                implicit_get_failed = True

        if (
            self.command.verb.hasIobj
            and not self.command.iobj.tokens
            and self.command.verb.impIobj
        ):
            self.command.iobj.target = self.command.verb().getImpIobj(self.game)
            if not self.command.iobj.target:
                implicit_get_failed = True

        if implicit_get_failed:
            self.command.err = True
            raise AbortTurn(f"Missing object for verb {self.command.verb}")

        Raises AbortTurn in the event of a missing direct or indirect
        object.

        Returns None, or a list of two items, either lists of strings, or None
        
Raises AbortTurn in the event of a missing direct or indirect
object.

Returns None, or a list of two items, either lists of strings, or None
Raises AbortTurn in the event of a missing direct or indirect object . Returns None or a list of two items either lists of strings or None
def checkForImplicitObjects(self):
        implicit_get_failed = False
        if (
            self.command.verb.hasDobj
            and not self.command.dobj.tokens
            and self.command.verb.impDobj
        ):
            self.command.dobj.target = self.command.verb().getImpDobj(self.game)
            if not self.command.dobj.target:
                implicit_get_failed = True
        if (
            self.command.verb.hasIobj
            and not self.command.iobj.tokens
            and self.command.verb.impIobj
        ):
            self.command.iobj.target = self.command.verb().getImpIobj(self.game)
            if not self.command.iobj.target:
                implicit_get_failed = True
        if implicit_get_failed:
            self.command.err = True
            raise AbortTurn(f"Missing object for verb {self.command.verb}")
def checkForImplicitObjects ( self ) : implicit_get_failed = False if ( self . command . verb . hasDobj and not self . command . dobj . tokens and self . command . verb . impDobj ) : self . command . dobj . target = self . command . verb ( ) . getImpDobj ( self . game ) if not self . command . dobj . target : implicit_get_failed = True if ( self . command . verb . hasIobj and not self . command . iobj . tokens and self . command . verb . impIobj ) : self . command . iobj . target = self . command . verb ( ) . getImpIobj ( self . game ) if not self . command . iobj . target : implicit_get_failed = True if implicit_get_failed : self . command . err = True raise AbortTurn ( f"Missing object for verb {self.command.verb}" )
Raises AbortTurn in the event of a missing direct or indirect
object.
Raises AbortTurn in the event of a missing direct or indirect object .
"""
        Raises AbortTurn in the event of a missing direct or indirect
        object.

        Returns None, or a list of two items, either lists of strings, or None
        """
self