Py_INCREF( Py_None );
PyObject* wpItem_gettag( wpItem* self, PyObject* args ){	if( !self->pItem || self->pItem->free )		return Py_None;	if( PyTuple_Size( args ) < 1 || !checkArgStr( 0 ) )	{		PyErr_BadArgument();		return NULL;	}	QString key = PyString_AsString( PyTuple_GetItem( args, 0 ) );	cVariant value = self->pItem->tags().get( key );	if( value.type() == cVariant::String )	{		QString strValue = value.asString();		if( !strValue.isNull() )			return PyString_FromString( strValue.latin1() );		else			return PyString_FromString( "" );	}	else if( value.type() == cVariant::Int )		return PyInt_FromLong( value.asInt() );	return Py_None;}