code: def nodePop(ctxt):
      
      if ctxt is None: ctxt__o = None
      else: ctxt__o = ctxt._o
      ret = libxml2mod.nodePop(ctxt__o)
      if ret is None:raise treeError('nodePop() failed')
      return xmlNode(_obj=ret)
docs: Pops the top element node from the node stack