Skip to content

Commit ab8d1e3

Browse files
authored
Doc: Fixed truncated docs for typenode_is_same_tree (python#27)
1 parent 1cb582f commit ab8d1e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Python/tier2.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,9 @@ typenode_get_location(_PyTier2TypeContext *ctx, _Py_TYPENODE_t *node, bool *is_l
282282

283283
/**
284284
* @brief Check if two nodes in a type context are in the same tree
285-
* @param src
285+
* @param x Node from type context
286+
* @param y Node from the same type context as `x`
287+
* @return If `x` and `y` belong to the same tree in the type context
286288
*/
287289
static bool typenode_is_same_tree(_Py_TYPENODE_t *x, _Py_TYPENODE_t *y)
288290
{

0 commit comments

Comments
 (0)