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
str.__contains__() is annotated as accepting object, but in fact it only accepts strings. Fixing the annotation will require a # type: ignore since this will be an incompatible override.
There is a similar problem with bytes.__contains__(), it only accepts int and bytes.
The text was updated successfully, but these errors were encountered:
str.__contains__()
is annotated as acceptingobject
, but in fact it only accepts strings. Fixing the annotation will require a# type: ignore
since this will be an incompatible override.There is a similar problem with
bytes.__contains__()
, it only acceptsint
andbytes
.The text was updated successfully, but these errors were encountered: