I am using a 3rd party library function which reads a set of keywords from a file, and is supposed to return a tuple of values. It does this correctly as long as there are at le
The () have nothing to do with tuples in python, the tuple syntax uses ,. The ()-s are optional.
()
,
E.g.:
>>> a=1, 2, 3 >>> type(a) >>> a=1, >>> type(a) >>> a=(1) >>> type(a)
I guess this is the root of the problem.