Skip to content
Snippets Groups Projects
Commit 3a1a890a authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

DOC: clarified usage of None in updating

parent 1913e6e7
No related branches found
No related tags found
No related merge requests found
......@@ -187,10 +187,10 @@ class FileTree(object):
def update(self, **variables) -> "FileTree":
"""
Creates a new filetree with updated variables
Creates a new FileTree with updated variables
:param variables: new values for the variables
Setting variables to None will explicitly unset them
Setting variables to None will force that variable to be empty (useful for non-optional variables)
:return: New FileTree with same templates for directory names and filenames, but updated variables
"""
new_tree = deepcopy(self)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment