PEP8 formatting
This commit is contained in:
parent
618f02564f
commit
79918c26b6
@ -2,8 +2,9 @@ import copy
|
||||
|
||||
|
||||
def remove_private_keys(document):
|
||||
"""Removes any key that starts with an underscore, returns result as new dictionary."""
|
||||
|
||||
"""Removes any key that starts with an underscore, returns result as new
|
||||
dictionary.
|
||||
"""
|
||||
patch_info = copy.deepcopy(document)
|
||||
for key in list(patch_info.keys()):
|
||||
if key.startswith('_'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user