class_docstr: Don't 'inherit' certain attributes from a base class
  
  >>> from sympy.utilities.decorator import no_attrs_in_subclass
  
  >>> class A(object):
  ...     x = 'test'
  
  >>> A.x = no_attrs_in_subclass(A, A.x)
  
  >>> class B(A):
  ...     pass
  
  >>> hasattr(A, 'x')
  True
  >>> hasattr(B, 'x')
  False
code: def __get__(self, instance, owner=None):
      if owner == self.cls:
          if hasattr(self.f, "__get__"):
              return self.f.__get__(instance, owner)
          return self.f
      raise AttributeError
  
file_path: sympy/sympy/utilities/decorator.py
imports: import sys
  import types
  import inspect
  from functools import wraps, update_wrapper
  from sympy.utilities.exceptions import sympy_deprecation_warning
label_desc: Use image node_id 2 for calling the no_attrs_in_subclass obj's underlying member method code with example usage: obj.__get__(instance, owner) and returns: self, self