
class MutableTree:

    value = None

    def full_length (self):
        return 0

    def walk (self):
        return iter(())

    def __len__ (self):
        return 0

    def __iter__ (self):
        return iter(())

    def __getitem__ (self, index):
        raise IndexError("tree index out of range")

    def __repr__ (self):
        return "<{}>".format(self.__class__.__name__)


class MutableTree:

    def __init__ (self):
        self.value = None

    def full_length (self):
        return 0

    def walk (self):
        return iter(())

    def __len__ (self):
        return 0

    def __iter__ (self):
        return iter(())

    def __getitem__ (self, index):
        raise IndexError("tree index out of range")

    def __repr__ (self):
        return "<{}>".format(self.__class__.__name__)

Set MutableTree.value on the object only
Set MutableTree.value on the object only

  
  class MutableTree:
  
+     def __init__ (self):
-     value = None
+         self.value = None
  
      def full_length (self):
          return 0
  
      def walk (self):
          return iter(())
  
      def __len__ (self):
          return 0
  
      def __iter__ (self):
          return iter(())
  
      def __getitem__ (self, index):
          raise IndexError("tree index out of range")
  
      def __repr__ (self):
          return "<{}>".format(self.__class__.__name__)
  
Set MutableTree.value on the object only
## Code Before:

class MutableTree:

    value = None

    def full_length (self):
        return 0

    def walk (self):
        return iter(())

    def __len__ (self):
        return 0

    def __iter__ (self):
        return iter(())

    def __getitem__ (self, index):
        raise IndexError("tree index out of range")

    def __repr__ (self):
        return "<{}>".format(self.__class__.__name__)

## Instruction:
Set MutableTree.value on the object only
## Code After:

class MutableTree:

    def __init__ (self):
        self.value = None

    def full_length (self):
        return 0

    def walk (self):
        return iter(())

    def __len__ (self):
        return 0

    def __iter__ (self):
        return iter(())

    def __getitem__ (self, index):
        raise IndexError("tree index out of range")

    def __repr__ (self):
        return "<{}>".format(self.__class__.__name__)
