...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.
Alas, clean and logical function design can be hard to do late in a languages life.
PEP 593 and PEP 585 are clean and logical... glad to see that :)
this article sums it up better than I ever could https://www.xanthir.com/b4wJ1
...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.
Alas, clean and logical function design can be hard to do late in a languages life.
PEP 593 and PEP 585 are clean and logical... glad to see that :)