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
Seems reasonable although the extend could be wrong if we don't know that a is a list; similarly, changing .join could be wrong if we don't know that the caller is a string. Just caveats.
Can you add the following rules?
a.extend([i for i in range(10)])
toa.extend(i for i in range(10))
a.extend(list(range(10))
toa.extend(range(10)
' '.join([i for i in range(10)])
to' '.join(i for i in range(10))
' '.join(list(range(10))
to' '.join(range(10)
[1, *list(range(10))]
to[1, *range(10)]
itertools.starmap(func, zip(range(5), range(5)))
tomap(func, range(5), range(5))
The text was updated successfully, but these errors were encountered: