self->pChar->tags().remove( key ); self->pChar->tags().set( key, cVariant( PyString_AsString( object ) ) );
self->pChar->removeTag( key ); self->pChar->setTag( key, cVariant( PyString_AsString( object ) ) );
static PyObject* wpChar_settag( wpChar* self, PyObject* args ){	if( self->pChar->free )		return PyFalse;	char *key;	PyObject *object;	if( !PyArg_ParseTuple( args, "sO:char.settag( name, value )", &key, &object ) )		return 0;	if( PyString_Check( object ) )	{		self->pChar->tags().remove( key );		self->pChar->tags().set( key, cVariant( PyString_AsString( object ) ) );	}	else if( PyInt_Check( object ) )	{		self->pChar->tags().remove( key );		self->pChar->tags().set( key, cVariant( (int)PyInt_AsLong( object ) ) );	}	else if( PyFloat_Check( object ) )	{		self->pChar->tags().remove( key );		self->pChar->tags().set( key, cVariant( (double)PyFloat_AsDouble( object ) ) );	}	return PyTrue;}