Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python string function "strip()" bug #85

Closed
mailmrcai opened this issue Nov 2, 2020 · 2 comments
Closed

Python string function "strip()" bug #85

mailmrcai opened this issue Nov 2, 2020 · 2 comments

Comments

@mailmrcai
Copy link

mailmrcai commented Nov 2, 2020

In [1]: example_str = "es_e"
In [2]: example_str.strip("es_")
Out[2]: ''

In [3]: example_str = "es_eabc"
In [4]: example_str.strip("es_")
Out[4]: 'abc'
#why the last "e" is stripped ?

@matrixise
Copy link
Member

@ewdurbin Please, could you close this issue? Thank you,

@ewdurbin
Copy link
Member

ewdurbin commented May 4, 2021

@matrixise aside, I've granted you triage permission on this repository for future use.

@ewdurbin ewdurbin closed this as completed May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants