
def classproperty(fun):
    class Descriptor(property):
        def __get__(self, instance, owner):
            return fun(owner)
    return Descriptor()

class UNSET(object):
    def __repr__(self):
        return 'UNSET'
    def __eq__(self, other):
        return other.__class__ == self.__class__
UNSET = UNSET()



def classproperty(fun):
    class Descriptor(property):
        def __get__(self, instance, owner):
            return fun(owner)
    return Descriptor()

class UNSET(object):
    def __repr__(self):
        return 'UNSET'
    def __eq__(self, other):
        return other.__class__ == self.__class__
    def __nonzero__(self):
        return False
UNSET = UNSET()


Change UNSET to so bool(UNSET) is False.
Change UNSET to so bool(UNSET) is False.

  
  def classproperty(fun):
      class Descriptor(property):
          def __get__(self, instance, owner):
              return fun(owner)
      return Descriptor()
  
  class UNSET(object):
      def __repr__(self):
          return 'UNSET'
      def __eq__(self, other):
          return other.__class__ == self.__class__
+     def __nonzero__(self):
+         return False
  UNSET = UNSET()
  
  
Change UNSET to so bool(UNSET) is False.
## Code Before:

def classproperty(fun):
    class Descriptor(property):
        def __get__(self, instance, owner):
            return fun(owner)
    return Descriptor()

class UNSET(object):
    def __repr__(self):
        return 'UNSET'
    def __eq__(self, other):
        return other.__class__ == self.__class__
UNSET = UNSET()


## Instruction:
Change UNSET to so bool(UNSET) is False.
## Code After:

def classproperty(fun):
    class Descriptor(property):
        def __get__(self, instance, owner):
            return fun(owner)
    return Descriptor()

class UNSET(object):
    def __repr__(self):
        return 'UNSET'
    def __eq__(self, other):
        return other.__class__ == self.__class__
    def __nonzero__(self):
        return False
UNSET = UNSET()

