[issue44521] str.removeprefix(): add strict: bool

Jack DeVries report at bugs.python.org
Mon Jun 28 19:03:32 EDT 2021


Jack DeVries <jdevries3133 at gmail.com> added the comment:

@lemburg, hopefully I'm asking the right person... you're down as the devguide expert on unicode and these changes would (I think) need to be applied here::

Objects/unicodeobject.c::12814 unicode_removeprefix_impl

Anyway, do you think this would be a useful feature that you'd like to see added?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44521>
_______________________________________


More information about the Python-bugs-list mailing list