Skip to content

Commit 8b0f60f

Browse files
author
Orisano
authored
fix typo?
1 parent 38facbc commit 8b0f60f

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)