Next / Previous / Contents / Shipman's homepage

9.4. Location.__str__()

This method converts a Location object into a string for display in messages.

baseclasses.py
# - - -   L o c a t i o n . _ _ s t r _ _   - - -

    def __str__ ( self ):
        """Return self as a string.
        """
        return "@%s" % self.locCode