The PEPs of Python 3.9
Sometimes I wish that python strings weren&#x27;t directly iterable...<p>this article sums it up better than I ever could <a href="https:&#x2F;&#x2F;www.xanthir.com&#x2F;b4wJ1" rel="nofollow">https:&#x2F;&#x2F;www.xanthir.com&#x2F;b4wJ1</a><p>...then str.strip and variants could be cleanly and logically extended to allow this functionality, because passing a string and a sequence of strings would be distinguishable.<p>Alas, clean and logical function design can be hard to do late in a languages life.<p>PEP 593 and PEP 585 are clean and logical... glad to see that :)