Mark Dickinson <dicki...@gmail.com> added the comment: You're probably trying to run it under Python 2.5 or Python 2.6 instead of Python 3.1. The line you show only makes sense for Python 3.x.
You code runs fine for me (using python3.1, on OS X 10.5). ---------- nosy: +marketdickinson resolution: -> works for me status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6842> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com