Skip to content

Commit 171a0e8

Browse files
committed
doc UPDATE clarify state list creation for lyd_new_path
1 parent c88e28e commit 171a0e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tree_data.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,8 +1554,8 @@ LIBYANG_API_DECL LY_ERR lyd_new_attr2(struct lyd_node *parent, const char *modul
15541554
* and @p value is set, the predicate is preferred.
15551555
*
15561556
* For key-less lists, positional predicates must be used (indices starting from 1). For non-configuration leaf-lists
1557-
* either positional predicate can be used or leaf-list predicate, when an instance is always created at the end.
1558-
* If no predicate is used for these nodes, they are always created.
1557+
* (or lists) either positional predicate can be used or leaf-list (or key) predicate, when an instance is always
1558+
* created at the end. If no predicate is used for these nodes, they are always created.
15591559
*
15601560
* @param[in] parent Data parent to add to/modify, can be NULL. Note that in case a first top-level sibling is used,
15611561
* it may no longer be first if @p path is absolute and starts with a non-existing top-level node inserted

0 commit comments

Comments
 (0)