applied fix from Jakub Piotr Clapa for xmlAttr.parent(), closing #312181

* python/libxml.c: applied fix from Jakub Piotr Clapa for
  xmlAttr.parent(), closing #312181
Daniel
2 files changed