code: def major(self):
      return self.value[0]
  
file_path: catboost/contrib/python/fonttools/fontTools/ufoLib/utils.py
imports: import warnings
  import functools
label_desc: Use image node_id 1 for calling the _VersionTupleEnumMixin obj's underlying member method code with example usage: obj.major() and returns: self