PyList_Append( list, PyGetItemObject( pItem ) );
PyList_AppendStolen( list, PyGetItemObject( pItem ) );
static PyObject* wpItems( PyObject* self, PyObject* args ){	Q_UNUSED( self );	// Minimum is x, y, map	uint x = 0,	y = 0,	map = 0,	range = 0;	if ( !PyArg_ParseTuple( args, "iii|i:wolfpack.items", &x, &y, &map, &range ) )		return 0;	Coord pos( x, y, 0, map );	if (pos.isInternalMap()) {		PyErr_SetString(PyExc_RuntimeError, "You cannot iterate over the internal map.");		return 0;	}	MapItemsIterator iter;	if ( range > 0 )	{		iter = MapObjects::instance()->listItemsInCircle( pos, range );	}	else	{		iter = MapObjects::instance()->listItemsAtCoord( pos ); // Suppose this is faster	}	PyObject* list = PyList_New( 0 );	for ( P_ITEM pItem = iter.first(); pItem; pItem = iter.next() )	{		PyList_Append( list, PyGetItemObject( pItem ) );	}	return list;}