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
Currently, arrays in arrays.py look for exact type match of elements before adding an element of the array using type. This approach is cryptic. Instead, _check_type should be used. See,
Description of the problem
Currently, arrays in
arrays.py
look for exact type match of elements before adding an element of the array usingtype
. This approach is cryptic. Instead,_check_type
should be used. See,pydatastructs/pydatastructs/linear_data_structures/arrays.py
Line 78 in aebae4c
Well, the following suggests that
type
understands the class hierarchy but still it shouldn't be used,Example of the problem
References/Other comments
The text was updated successfully, but these errors were encountered: