def set_type(self, type): gtlib.gt_feature_node_set_type(self.gn, type)
def set_type(self, type): gtlib.gt_feature_node_set_type(self.gn, type.encode("UTF-8"))
def set_type(self, type): gtlib.gt_feature_node_set_type(self.gn, type.encode('UTF-8'))