Closed CursedKeyboard closed 4 years ago
Updated doc string quotes to double quotes to follow PEP257 guidelines. Fixed method so that it strips more than 1 when necessary. Added parameter which allows modification of strip amount.
Thanks for your contribution, this is a nice addition to the utility function. I'll update rstrip as well so they are consistent.
I also switched it over to a for-loop, here's the commit
Updated doc string quotes to double quotes to follow PEP257 guidelines. Fixed method so that it strips more than 1 when necessary. Added parameter which allows modification of strip amount.