Next / Previous / Contents / Shipman's homepage

29.2. CollBind.__str__()

nomcompile3
# - - -   C o l l B i n d . _ _ s t r _ _

    def __str__ ( self ):
        '''Display self as a string.
        '''
        return ( "Invalid code '%s': use one of %s." %
                 (self.abbr, ", ".join(list(self.collSet))) )