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
Remove call to removeprefix to fix python 3.8 (#253)
In `stream.py` we were using `removeprefix`, which was introduced in
Python 3.9. This breaks compatibility with Python 3.8, which I believe
we still want to support. This PR provides exact same functionality but
without the call to that function.
Previously, we were `.lstrip()`-ing here, but I assume @mattt switched
to `removeprefix` for a reason, so I didn't use that (as it would get
rid of any and all whitespace, as opposed to a single space as we do
here).
0 commit comments