fix(uri): replace `lstrip("mailto:")` with manual prefix removal by max-moser · Pull Request #418 · python-validators/validators
changed the title
fix(uri): replace
fix(uri): replace lstrip() with removesuffix()lstrip() with removeprefix()
max-moser
changed the title
fix(uri): replace
fix(uri): replace lstrip() with removeprefix()lstrip("mailto:") with manual prefix removal
* the use of `lstrip()` here was a bit too aggressive * `removeprefix()` is only available with python 3.9+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters