Code returns error when not supposed to
amfr
amfr.org at gmail.com
Wed Nov 30 20:07:44 EST 2005
More information about the Python-list mailing list
Wed Nov 30 20:07:44 EST 2005
- Previous message (by thread): Python Guru Needed Fast!!!!
- Next message (by thread): Code returns error when not supposed to
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This code always returns a ValueError when it is not supposed to:
i = rest.rfind('?')
Error:
ValueError: need more than 0 values to unpack
rfind is not supposed to generate an erro, just return -1. Any ideas?
- Previous message (by thread): Python Guru Needed Fast!!!!
- Next message (by thread): Code returns error when not supposed to
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list