New submission from Ghislain Hivon:
When sniffing the dialect of a file created with the csv module with
dialect=csv.excel_tab and one of the row contain a quote ("), the delimiter is
set to ' ' instead of '\t'.
--
files: csv_sniffing_excel_tab.py
messages: 1
Ghislain Hivon added the comment:
The reverse, f(*(1, 2, 3), foo=4), is consistent with
f(1,2,3, foo=4)
who also gave
TypeError: f() got multiple values for keyword argument 'foo'
Which is consistent with the tutorial
http://docs.python.org/tutorial/controlflow.html#keyword-argu
New submission from Ghislain Hivon :
Take a fonction with a parameter and *args
def foo(bar, args*)
pass
then call it like this
myargs = [1, 2, 3, 4, 5]
foo(bar=1, *myargs)
The call produce this error :
TypeError: foo() got multiple values for keyword argument 'bar'
Sould th