-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
mypy doesn't like this code:
if isinstance(data, six.string_types):
data = data.split(',')
with this error:
zerver/lib/actions.py: note: In function "extract_recipients":
zerver/lib/actions.py:789: error: "basestring" has no attribute "split"
I haven't had a chance yet to investigate whether "split" should be supported on basestring objects (and thus it's a stub issue) or whether the code is wrong.
Metadata
Metadata
Assignees
Labels
No labels