fixed

On Sep 22, 2013, at 6:46 PM, Matthew Rocklin <notifications@github.com> wrote:

> In toolz/dicttoolz/core.py:
> 
> > +    {'z': 2}
> > +    >>> assoc({"z": 1}, "b", 3)   # doctest: +SKIP
> > +    {'z': 1, 'b': 3}
> > +    """
> > +    return dict(list(d.items()) + [(q, r)])
> > +
> > +
> > +def update_in(dikt, keys, f):
> > +    """ Immutably update value in a (potentially) nested dictionary.
> > +
> > +    keys is a list or tuple or anything which supports indexing, which
> > +    gives the "location" of the value in dikt; f is the function which
> > +    operates on the value to produce an updated value.
> > +
> > +    Translated from Clojure,
> > +    http://clojuredocs.org/clojure_core/1.2.0/clojure.core/update-in
> I wouldn't refer to Clojure. While there is a clear relationship between this library and the many of the clojure core I think this should be stated at a higher and more generic level outside of individual docstrings.
> 
> —
> Reply to this email directly or view it on GitHub.
>