Next / Previous / Contents / Shipman's homepage

17.1. Txny.lookupAbbr(): Find the definition of a code

This is a pass-through to Section 24.2, “AbTab.__getitem__(): Find the symbol table entry for a given code”.

nomcompile3
# - - -   T x n y . l o o k u p A b b r

    def lookupAbbr ( self, abbr ):
        '''Find the definition of a bird code
        '''
        return self.abTab[abbr]