def label(object, index=None):
 object = Carbon.File.FSRef(object)
 object_alias = object.FSNewAliasMinimal()
 if (index is None):
  return _getlabel(object_alias)
 if ((index < 0) or (index > 7)):
  index = 0
 return _setlabel(object_alias, index)

def label ( object , index = None ) : object = Carbon . File . FSRef ( object ) object_alias = object . FSNewAliasMinimal ( ) if ( index is None ) : return _getlabel ( object_alias ) if ( ( index < 0 ) or ( index > 7 ) ) : index = 0 return _setlabel ( object_alias , index )
label: set or get the label of the item .