Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Jan 11, 2022
1 parent c3d3727 commit c47bd55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/galaxy/util/xml_macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ def _expand_macro(element, expand_el, macros, tokens):

def _expand_yield_statements(macro_def, expand_el):
"""
Modifies the macro_def element by replacing all <yield/> tags below the
macro_def element by the children of the expand_el
>>> from lxml.etree import tostring
>>> from galaxy.util import XML
>>> expand_el = XML('''
Expand Down

0 comments on commit c47bd55

Please sign in to comment.