tombulled / python-youtube-music

Python 3 YouTube Music Web API Client
GNU General Public License v3.0
65 stars 14 forks source link

Update lstrip.py #2

Closed CursedKeyboard closed 4 years ago

CursedKeyboard commented 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.

tombulled commented 4 years ago

Thanks for your contribution, this is a nice addition to the utility function. I'll update rstrip as well so they are consistent.

tombulled commented 4 years ago

I also switched it over to a for-loop, here's the commit