code: def setLocation(self, location):
          
          if not location or not isinstance(location, Location):
              raise ValueError("setLocation expected a Location object")
          self.x = location.x
          self.y = location.y
          return self
docs: Change the upper left-hand corner to a new ``Location``
  
          Doesn't change width or height