class_docstr: An attribute that cannot be overridden.
  This is like the final modifier in Java.
  
  Example usage:
  >>> from six import with_metaclass
  >>> class C(with_metaclass(FinalMeta, object)):
  ...    @final
  ...    def f(self):
  ...        return 'value'
  ...
  
  This constructs a class with final method `f`. This cannot be overridden
  on the class object or on any instance. You cannot override this by
  subclassing `C`; attempting to do so will raise a `TypeError` at class
  construction time.
class_docstr_tok: ["An","attribute","that","can","not","be","overridden",".","This","is","like","the","final","modifier","in","Java",".","Example","usage",":",">",">",">","from","six","import","with_metaclass",">",">",">","class","C","(","with_metaclass","(","FinalMeta",",","object",")",")",":","...","@","final","...","def","f","(","self",")",":","...","return","'value'","...","This","constructs","a","class","with","final","method","`","f","`",".","This","can","not","be","overridden","on","the","class","object","or","on","any","instance",".","You","can","not","override","this","by","subclassing","`","C","`",";","attempting","to","do","so","will","raise","a","`","TypeError","`","at","class","construction","time","."]
docstr: `final` objects cannot be reassigned. This is the most import concept
  about `final`s.
  
  Unlike a `property` object, this will raise a `TypeError` when you
  attempt to reassign it.
docstr_tok: ["`","final","`","objects","can","not","be","reassigned",".","This","is","the","most","import","concept","about","`","final","`","s",".","Unlike","a","`","property","`","object",",","this","will","raise","a","`","TypeError","`","when","you","attempt","to","reassign","it","."]
code: def __set__(self, instance, value):
      """
      `final` objects cannot be reassigned. This is the most import concept
      about `final`s.
  
      Unlike a `property` object, this will raise a `TypeError` when you
      attempt to reassign it.
      """
      raise _type_error
  
file_path: catalyst/catalyst/utils/final.py
imports: from abc import ABCMeta, abstractmethod
  from six import with_metaclass, iteritems
label_desc: Use image node_id 3 for calling the final obj's underlying member method code with example usage: obj.__set__(instance, value) without return types