File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ def new_tag_node(
333
333
local_name : str ,
334
334
attributes : Optional [dict [AttributeAccessor , str ] | TagAttributes ] = None ,
335
335
namespace : Optional [str ] = None ,
336
- children : Sequence [NodeSource ] = (),
336
+ children : Iterable [NodeSource ] = (),
337
337
) -> TagNode :
338
338
"""
339
339
Creates a new :class:`TagNode` instance outside any context. It is preferable to
@@ -343,7 +343,7 @@ def new_tag_node(
343
343
:param local_name: The tag name.
344
344
:param attributes: Optional attributes that are assigned to the new node.
345
345
:param namespace: An optional tag namespace.
346
- :param children: An optional sequence of objects that will be appended as child
346
+ :param children: An optional iterable of objects that will be appended as child
347
347
nodes. This can be existing nodes, strings that will be inserted
348
348
as text nodes and in-place definitions of :class:`TagNode`
349
349
instances from :func:`tag`. The latter will be assigned to the
You can’t perform that action at this time.
0 commit comments