Next / Previous / Contents / Shipman's homepage

6.4. Txny.lookupCollision()

Checks a code to see if it is a collision form. If it is, returns a list of the valid alternatives.

xnomo3.py
# - - -   T x n y . l o o k u p C o l l i s i o n   - - -

    def lookupCollision ( self, abbr ):
        """Is abbr a collision code?
        """
        return self.__collMap[abbrMod.fixAbbr(abbr)]