Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Add docstring to flat_merge()
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-gravgaard committed Aug 19, 2014
1 parent f6870d3 commit d77c233
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backdrop/core/nested_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ def nested_merge(keys, collect, data):


def flat_merge(keys, collect, data):
"""Like nested_merge above, but prefixes collected values' key names
instead of creating nested subgroups.
"""
if not collect:
return data

Expand Down

0 comments on commit d77c233

Please sign in to comment.