You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The str method strip is very popular, and the close relatives lstrip and rstrip are also used commonly. It would be good to have efficient primitives for them. I think there is no Python C API for these, but maybe we can adapt _PyUnicode_XStrip from CPython. Writing our own implementation wouldn't be too difficult either.
The text was updated successfully, but these errors were encountered:
The
str
methodstrip
is very popular, and the close relativeslstrip
andrstrip
are also used commonly. It would be good to have efficient primitives for them. I think there is no Python C API for these, but maybe we can adapt_PyUnicode_XStrip
from CPython. Writing our own implementation wouldn't be too difficult either.The text was updated successfully, but these errors were encountered: