title: Wither for Python?
body: <p>In Java's Lombok there is a functionality called <code>wither</code>that clones an existing instance and changes just one attribute of it (<a href="https://projectlombok.org/features/experimental/Wither" rel="nofollow noreferrer">wither</a>).</p>
  
  <p>Is there anything comparable in Python?</p>
  
  <p>(Python projects similar to Lombok seem to be the following, but they do not have this functionality:</p>
  
  <ol>
  <li><a href="https://github.com/python-attrs/attrs" rel="nofollow noreferrer">https://github.com/python-attrs/attrs</a></li>
  <li><a href="https://pysynthetic.readthedocs.io/en/latest/" rel="nofollow noreferrer">https://pysynthetic.readthedocs.io/en/latest/</a></li>
  <li><a href="https://github.com/IgniparousTempest/puffadder/" rel="nofollow noreferrer">https://github.com/IgniparousTempest/puffadder/</a> )</li>
  </ol>