summaryrefslogtreecommitdiff
path: root/factory/utils.py
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-05-11 09:49:51 +0100
committerChristopher Baines <mail@cbaines.net>2016-05-11 09:49:51 +0100
commitd54b452452a04f8109ef8dc48c9b46d1cb99f476 (patch)
treea31e97328932c485d80e3be808c9e3572d955c39 /factory/utils.py
parent36ef8928c06a4bba5249442cd832a73ece1570c3 (diff)
parentf1ed74e06dfb6851bc691ebfd8135c875154ad50 (diff)
downloadfactory-boy-d54b452452a04f8109ef8dc48c9b46d1cb99f476.tar
factory-boy-d54b452452a04f8109ef8dc48c9b46d1cb99f476.tar.gz
Merge tag 'v2.7.0' into debian/unstable
Release of factory_boy 2.7.0
Diffstat (limited to 'factory/utils.py')
-rw-r--r--factory/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/factory/utils.py b/factory/utils.py
index 15dba0a..cfae4ec 100644
--- a/factory/utils.py
+++ b/factory/utils.py
@@ -35,7 +35,7 @@ def extract_dict(prefix, kwargs, pop=True, exclude=()):
Args:
prefix (str): the prefix to use for lookups
- kwargs (dict): the dict from which values should be extracted
+ kwargs (dict): the dict from which values should be extracted; WILL BE MODIFIED.
pop (bool): whether to use pop (True) or get (False)
exclude (iterable): list of prefixed keys that shouldn't be extracted
@@ -68,7 +68,7 @@ def multi_extract_dict(prefixes, kwargs, pop=True, exclude=()):
Args:
prefixes (str list): the prefixes to use for lookups
- kwargs (dict): the dict from which values should be extracted
+ kwargs (dict): the dict from which values should be extracted; WILL BE MODIFIED.
pop (bool): whether to use pop (True) or get (False)
exclude (iterable): list of prefixed keys that shouldn't be extracted