human
Complete the below
def autoassign(self, locals):

    ''''Automatically assigns local variables to `self`.
    >>> self = storage()
    >>> autoassign(self, dict(a=1, b=2))
    >>> self
    <Storage {\'a\': 1, \'b\': 2}>
    Generally used in `__init__` methods, as in:
    def __init__(self, foo, bar, baz=1): autoassign(self, locals())'
    '''
assistant
#Here is the Python code you requested.
    for (key, value) in locals.iteritems():
        if (key == 'self'):
            continue
        setattr(self, key, value)