Tore Anderson added the comment:
You're right. I got it confused with the conn object in the code I was working
on, because it turns out that it has an execute() method:
>>> import sqlite3
>>> c = sqlite3.connect('test.db')
>>> c.execute('S
Tore Anderson added the comment:
You're looking in the wrong place, the buggy ones are at
https://github.com/python/cpython/blame/e161ec5dd7ba9355eb06757b9304019ac53cdf69/Doc/library/sqlite3.rst#L74-L76
Tore
--
___
Python tracker
&
New submission from Tore Anderson :
In https://docs.python.org/3/library/sqlite3.html, the following example code
is found:
> # Do this instead
> t = ('RHAT',)
> c.execute('SELECT * FROM stocks WHERE symbol=?', t)
> print(c.fetchone())
However this fails as fo