(self, key, defaultValue=None)
Returns named result matching the given key, or if there is no
           such name, then returns the given defaultValue or None if no
           defaultValue is specified.
Returns named result matching the given key, or if there is no
           such name, then returns the given defaultValue or None if no
           defaultValue is specified.
Returns named result matching the given key or if there is no such name then returns the given defaultValue or None if no defaultValue is specified .
def get(self, key, defaultValue=None):
        """Returns named result matching the given key, or if there is no
           such name, then returns the given defaultValue or None if no
           defaultValue is specified."""
        if key in self:
            return self[key]
        else:
            return defaultValue
def get ( self , key , defaultValue = None ) : if key in self : return self [ key ] else : return defaultValue