From 6f7381298def53c9ad4b432f75a321bb80532220 Mon Sep 17 00:00:00 2001 From: David Zurow Date: Tue, 2 Sep 2025 09:18:55 -0400 Subject: [PATCH] Clarify Modifier doc for name and default value --- dragonfly/grammar/elements_basic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dragonfly/grammar/elements_basic.py b/dragonfly/grammar/elements_basic.py index bd85fee7..18aa9fe9 100644 --- a/dragonfly/grammar/elements_basic.py +++ b/dragonfly/grammar/elements_basic.py @@ -1227,7 +1227,8 @@ def value(self, node): class Modifier(Alternative): """ Element allowing direct modification of the output of another - element at recognition time. + element at recognition time. Keeps the same name and default value + as the original (given/child) element. Constructor arguments: - *element* (*Element*) -- The element to be recognised, e.g.