original_docstring: return the name of the task's current state
docstring: return the name of the task's current state
docstring_tokens: return the name of the task ' s current state
code: def state(self):
  		"""return the name of the task's current state"""
  		statenames = gdb.types.make_enum_dict(gdb.lookup_type('enum tstate_e'))
  		for name,value in statenames.iteritems():
  			if value == self._tcb['task_state']:
  				return name
  		return 'UNKNOWN'
code_tokens: def state ( self ) : statenames = gdb . types . make_enum_dict ( gdb . lookup_type ( 'enum tstate_e' ) ) for name , value in statenames . iteritems ( ) : if value == self . _tcb [ 'task_state' ] : return name return 'UNKNOWN'
short_docstring: return the name of the task's current state
short_docstring_tokens: return the name of the task ' s current state
comment: """return the name of the task's current state"""