Way 5: Add default `False` `iter` flag to `dataclass` decorator.

```
 def __iter__(self) :
        return ((f.name, getattr(axes, f.name)) for f in fields(axes))
```

And use: `plot(**dict(axes))`
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/ZYNPMIGUCNIAQJRK3WS3XBFD2SAKJPC5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to