Syntax question

Helmut Jarausch jarausch at
Sat Oct 10 16:13:57 CEST 2009


I'm trying to build the recent Python-3.2a (SVN).
It fails in
Lib/  (line 87)

85  def group(*choices): return '(' + '|'.join(choices) + ')'
86  def any(*choices): return group(*choices) + '*'
87  def maybe(*choices): return group(*choices) + '?'

with: TypeError: group() argument after ** must be a mapping, not tuple

I'm afraid I don't understand this error message.
BTW I'm using python-2.6.3 on the machine where I try to install

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

More information about the Python-list mailing list