M
meinrad recheis
hi pythoneers
i am very annoyed by the List's index out of bouds exception
it forces me to complicate my code by adding length checking
i might be spoilt by Ruby which returns nil for not existing indices.
i want to change the List so that it returns None if the index for
accesssing list elements
is out of bound.
i am not very experienced in python, so i ask you for suggestions.
thanks in advance,
Meinrad Recheis
i am very annoyed by the List's index out of bouds exception
it forces me to complicate my code by adding length checking
i might be spoilt by Ruby which returns nil for not existing indices.
i want to change the List so that it returns None if the index for
accesssing list elements
is out of bound.
i am not very experienced in python, so i ask you for suggestions.
thanks in advance,
Meinrad Recheis