fixed

On Sep 22, 2013, at 6:45 PM, Matthew Rocklin <notifications@github.com> wrote:

> In toolz/dicttoolz/core.py:
> 
> > +def assoc(d, q, r):
> > +    """
> > +    Return a new dict with q: r added in
> > +
> > +    New dict has d["q"] set to r. Do not modify the initial dict.
> > +
> > +    >>> assoc({"z": 1}, "z", 2)
> > +    {'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.
> Maybe state that this returns a copy. Immutability might not be known by the general public.
> 
> —
> Reply to this email directly or view it on GitHub.
>