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
Comment in List.append(): "This assumes that item is an instance of a Pip type--unpredictable behavior may follow if it's not." Instead of assuming, it would be pretty simple to check and raise TypeError when appropriate, which would be a lot better than unpredictable behavior. Same goes for List.extend(), though the check will be a bit more complicated.
The text was updated successfully, but these errors were encountered:
Comment in
List.append()
: "This assumes that item is an instance of a Pip type--unpredictable behavior may follow if it's not." Instead of assuming, it would be pretty simple to check and raiseTypeError
when appropriate, which would be a lot better than unpredictable behavior. Same goes forList.extend()
, though the check will be a bit more complicated.The text was updated successfully, but these errors were encountered: