parameters: (object_alias, index)
return_statement: return index
docstring: label: Set the label for the object.
docstring_summary: label: Set the label for the object.
docstring_tokens: label : Set the label for the object .
function: def _setlabel(object_alias, index):
      """label: Set the label for the object."""
      finder = _getfinder()
      args = {}
      attrs = {}
      _code = 'core'
      _subcode = 'setd'
      aeobj_0 = aetypes.ObjectSpecifier(want=aetypes.Type('prop'),
              form="alis", seld=object_alias, fr=None)
      aeobj_1 = aetypes.ObjectSpecifier(want=aetypes.Type('prop'),
              form="prop", seld=aetypes.Type('labi'), fr=aeobj_0)
      args['----'] = aeobj_1
      args["data"] = index
      _reply, args, attrs = finder.send(_code, _subcode, args, attrs)
      if 'errn' in args:
          raise Error, aetools.decodeerror(args)
      return index
function_tokens: def _setlabel ( object_alias , index ) : finder = _getfinder ( ) args = { } attrs = { } _code = 'core' _subcode = 'setd' aeobj_0 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'prop' ) , form = "alis" , seld = object_alias , fr = None ) aeobj_1 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'prop' ) , form = "prop" , seld = aetypes . Type ( 'labi' ) , fr = aeobj_0 ) args [ '----' ] = aeobj_1 args [ "data" ] = index _reply , args , attrs = finder . send ( _code , _subcode , args , attrs ) if 'errn' in args : raise Error , aetools . decodeerror ( args ) return index