Dennis Sweeney <[email protected]> added the comment:
This is the intended behavior. Use s.removeprefix() and s.removesuffix() instead. ---------- nosy: +Dennis Sweeney _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue44513> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
