changing the List's behaviour?
meinrad recheis
meinrad.recheis at gmx.at
Sun Jul 27 16:41:43 EDT 2003
More information about the Python-list mailing list
Sun Jul 27 16:41:43 EDT 2003
- Previous message (by thread): changing the List's behaviour?
- Next message (by thread): changing the List's behaviour?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): changing the List's behaviour?
- Next message (by thread): changing the List's behaviour?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list