示例#1
0
 def path(self) -> str:
     path = lib.lyd_path(self.cdata)
     try:
         return c2str(path)
     finally:
         lib.free(path)
示例#2
0
 def path(self):
     path = lib.lyd_path(self._node)
     try:
         return c2str(path)
     finally:
         lib.free(path)