code: def notimplemented (func):
      
      def newfunc (*args, **kwargs):
          """Raise NotImplementedError"""
          co = func.func_code
          attrs = (co.co_name, co.co_filename, co.co_firstlineno)
          raise NotImplementedError("function %s at %s:%d is not implemented" % attrs)
      return update_func_meta(newfunc, func)
docs: Raises a NotImplementedError if the function is called.