File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -214,12 +214,12 @@ def render(self, context: dict):
214214 yield from self .render_children (context )
215215
216216
217- class Context (BaseElement ):
217+ class WithContext (BaseElement ):
218218 """
219- Pass additional variables into the context.
219+ Pass additional names into the context.
220220 The additional context names are namespaced to the current element and its child elements.
221- It can be helpfull for shadowing or aliasing a name in the context.
222- This element is required because context is otherwise only set by the render function and the loop-variable of Iierator
221+ It can be helpfull for shadowing or aliasing names in the context.
222+ This element is required because context is otherwise only set by the render function and the loop-variable of Iterator which can be limiting.
223223 """
224224
225225 additional_context : dict = {}
You can’t perform that action at this time.
0 commit comments