intficpy/thing_base.py
def moveTo(self, location):
        """
        Move an item to a new location
        """
        if self.location:
            self.location.removeThing(self)
        location.addThing(self)

        Move an item to a new location
        
Move an item to a new location
Move an item to a new location
def moveTo(self, location):
        if self.location:
            self.location.removeThing(self)
        location.addThing(self)
def moveTo ( self , location ) : if self . location : self . location . removeThing ( self ) location . addThing ( self )
Move an item to a new location
Move an item to a new location
"""
        Move an item to a new location
        """
self
location