Show the entire code, and error for both usages. The usages and a single error message for them both may be enough for someone not to try them out, and who can help you, if they knew more about the problem.
Not everyone here will be an expert, but we do read direct code vs direct error, if we've been paying attention. Plus, we can try the whole code out, and see what you're trying to do altogether instead of in a specific portion that may misrepresent the whole of the problem. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor