@@ -173,7 +173,7 @@ static PyObject* rapidxml_NodeObject_prepend_node(rapidxml_NodeObject* self,
173173 return NULL ;
174174 }
175175 if (!IS_NODE (node)) {
176- PyErr_SetString (PyExc_TypeError, " Expected instance of _rapidxml .Node" );
176+ PyErr_SetString (PyExc_TypeError, " Expected instance of rapidxml.c_ext .Node" );
177177 return NULL ;
178178 }
179179 static_cast <rapidxml::xml_node<>*>(self->base .underlying_obj )->prepend_node
@@ -195,7 +195,7 @@ static PyObject* rapidxml_NodeObject_append_node(rapidxml_NodeObject* self,
195195 return NULL ;
196196 }
197197 if (!IS_NODE (node)) {
198- PyErr_SetString (PyExc_TypeError, " Expected instance of _rapidxml .Node" );
198+ PyErr_SetString (PyExc_TypeError, " Expected instance of rapidxml.c_ext .Node" );
199199 return NULL ;
200200 }
201201 static_cast <rapidxml::xml_node<>*>(self->base .underlying_obj )->append_node
@@ -219,7 +219,7 @@ static PyObject* rapidxml_NodeObject_insert_node(rapidxml_NodeObject* self,
219219 return NULL ;
220220 }
221221 if (!(IS_NODE (where) && IS_NODE (node))) {
222- PyErr_SetString (PyExc_TypeError, " Expected instances of _rapidxml .Node" );
222+ PyErr_SetString (PyExc_TypeError, " Expected instances of rapidxml.c_ext .Node" );
223223 return NULL ;
224224 }
225225 static_cast <rapidxml::xml_node<>*>(self->base .underlying_obj )->insert_node
@@ -263,7 +263,7 @@ static PyObject* rapidxml_NodeObject_remove_node(rapidxml_NodeObject* self,
263263 return NULL ;
264264 }
265265 if (!IS_NODE (node)) {
266- PyErr_SetString (PyExc_TypeError, " Expected instance of _rapidxml .Node" );
266+ PyErr_SetString (PyExc_TypeError, " Expected instance of rapidxml.c_ext .Node" );
267267 return NULL ;
268268 }
269269 static_cast <rapidxml::xml_node<>*>(self->base .underlying_obj )->remove_node
@@ -293,7 +293,7 @@ static PyObject* rapidxml_NodeObject_prepend_attribute(rapidxml_NodeObject* self
293293 return NULL ;
294294 }
295295 if (!IS_ATTR (attribute)) {
296- PyErr_SetString (PyExc_TypeError, " Expected instance of _rapidxml .Attribute" );
296+ PyErr_SetString (PyExc_TypeError, " Expected instance of rapidxml.c_ext .Attribute" );
297297 return NULL ;
298298 }
299299 static_cast <rapidxml::xml_node<>*>(self->base .underlying_obj )->prepend_attribute
@@ -315,7 +315,7 @@ static PyObject* rapidxml_NodeObject_append_attribute(rapidxml_NodeObject* self,
315315 return NULL ;
316316 }
317317 if (!IS_ATTR (attribute)) {
318- PyErr_SetString (PyExc_TypeError, " Expected instance of _rapidxml .Attribute" );
318+ PyErr_SetString (PyExc_TypeError, " Expected instance of rapidxml.c_ext .Attribute" );
319319 return NULL ;
320320 }
321321 static_cast <rapidxml::xml_node<>*>(self->base .underlying_obj )->append_attribute
@@ -339,7 +339,7 @@ static PyObject* rapidxml_NodeObject_insert_attribute(rapidxml_NodeObject* self,
339339 return NULL ;
340340 }
341341 if (!(IS_ATTR (where) && IS_ATTR (attribute))) {
342- PyErr_SetString (PyExc_TypeError, " Expected instances of _rapidxml .Attribute" );
342+ PyErr_SetString (PyExc_TypeError, " Expected instances of rapidxml.c_ext .Attribute" );
343343 return NULL ;
344344 }
345345 static_cast <rapidxml::xml_node<>*>(self->base .underlying_obj )->insert_attribute
@@ -383,7 +383,7 @@ static PyObject* rapidxml_NodeObject_remove_attribute(rapidxml_NodeObject* self,
383383 return NULL ;
384384 }
385385 if (!IS_ATTR (attribute)) {
386- PyErr_SetString (PyExc_TypeError, " Expected instance of _rapidxml .Attribute" );
386+ PyErr_SetString (PyExc_TypeError, " Expected instance of rapidxml.c_ext .Attribute" );
387387 return NULL ;
388388 }
389389 static_cast <rapidxml::xml_node<>*>(self->base .underlying_obj )->remove_attribute
@@ -528,7 +528,7 @@ static PyMethodDef rapidxml_NodeObject_methods[] = {
528528
529529PyTypeObject rapidxml_NodeType = {
530530 PyVarObject_HEAD_INIT (NULL , 0 )
531- " _rapidxml. Node" , /* tp_name */
531+ " rapidxml.c_ext. Node" , /* tp_name */
532532 sizeof (rapidxml_NodeObject), /* tp_basicsize */
533533 0 , /* tp_itemsize */
534534 0 , /* tp_dealloc */
0 commit comments