Next / Previous / Contents / Shipman's homepage

27.2. FoDim.__str__()

fosox.py
# - - -   F o D i m . _ _ s t r _ _

    def __str__(self):
        '''Convert to a string.
        '''
        return "%s%s" % (self.n, self.units)