if (pos.isInternalMap()) { PyErr_SetString(PyExc_RuntimeError, "You cannot iterate over the internal map."); return 0; }
static PyObject* wpChars( PyObject* self, PyObject* args ){	Q_UNUSED( self );	// Minimum is x, y, map	uint x = 0,	y = 0,	map = 0,	range = 1;	PyObject *offline = Py_False;	if ( !PyArg_ParseTuple( args, "iii|iO:wolfpack.chars", &x, &y, &map, &range, &offline ) )		return 0;	Coord pos(x, y, 0, map);	if (pos.isInternalMap()) {		PyErr_SetString(PyExc_RuntimeError, "You cannot iterate over the internal map.");		return 0;	}	MapCharsIterator iter = MapObjects::instance()->listCharsInCircle( pos, range, PyObject_IsTrue( offline ) != 0 );	PyObject* list = PyList_New( 0 );	for ( P_CHAR pChar = iter.first(); pChar; pChar = iter.next() )	{		PyList_AppendStolen( list, pChar->getPyObject() );	}	return list;}