(**kwds)
return decorate
This is a decorator to use with genetic programming non-terminals

    It currently accepts the attributes: shape, color and representation.
This is a decorator to use with genetic programming non-terminals
This is a decorator to use with genetic programming non - terminals
def gpdec(**kwds):
    """ This is a decorator to use with genetic programming non-terminals

    It currently accepts the attributes: shape, color and representation.
    """
    def decorate(f):
        for k in kwds:
            setattr(f, k, kwds[k])
        return f
    return decorate
def gpdec ( * * kwds ) : def decorate ( f ) : for k in kwds : setattr ( f , k , kwds [ k ] ) return f return decorate