code: def pointcut(self, value):
          
  
          pointcut = getattr(self, Interceptor.POINTCUT)
  
          # for all targets
          for target in self.targets:
              # unweave old advices
              unweave(target, pointcut=pointcut, advices=self.intercepts)
              # weave new advices with new pointcut
              weave(target, pointcut=value, advices=self.intercepts)
  
          # and save new pointcut
          setattr(self, Interceptor._POINTCUT, value)
docs: Change of pointcut.