Skip to content

Commit a8cd0ad

Browse files
authored
Merge pull request #354 from orisano/patch-1
fix typo?
2 parents 38facbc + 8b0f60f commit a8cd0ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolz/dicttoolz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def assoc_in(d, keys, value, factory=dict):
226226
>>> assoc_in(purchase, ['order', 'costs'], [0.25, 1.00]) # doctest: +SKIP
227227
{'credit card': '5555-1234-1234-1234',
228228
'name': 'Alice',
229-
'purchase': {'costs': [0.25, 1.00], 'items': ['Apple', 'Orange']}}
229+
'order': {'costs': [0.25, 1.00], 'items': ['Apple', 'Orange']}}
230230
"""
231231
return update_in(d, keys, lambda x: value, value, factory)
232232

0 commit comments

Comments
 (0)