Py_INCREF( Py_None ); return Py_None;
Py_RETURN_NONE;
static PyObject* wpElement_getAttr( wpElement* self, char* name ){	cElement* element = self->element;	if ( !strcmp( name, "name" ) )	{		return PyString_FromString( element->name().data() );	}	else if ( !strcmp( name, "parent" ) )	{		if ( element->parent() )		{			cElement* parent = const_cast<cElement*>( element->parent() );			return parent->getPyObject();		}		else		{			Py_INCREF( Py_None );			return Py_None;		}	}	else if ( !strcmp( name, "value" ) )	{		QString value = element->value();		if ( value == QString::null )		{			return PyUnicode_FromUnicode( ( Py_UNICODE * ) L"", 0 );		}		else		{			return PyUnicode_FromUnicode( ( Py_UNICODE * ) value.ucs2(), value.length() );		}	}	else if ( !strcmp( name, "text" ) )	{		QString value = element->text();		if ( value == QString::null )		{			return PyUnicode_FromUnicode( ( Py_UNICODE * ) L"", 0 );		}		else		{			return PyUnicode_FromUnicode( ( Py_UNICODE * ) value.ucs2(), value.length() );		}	}	else if ( !strcmp( name, "childcount" ) )	{		return PyInt_FromLong( self->element->childCount() );	}	return Py_FindMethod( methods, ( PyObject * ) self, name );}