Message262530
| Author |
berker.peksag |
| Recipients |
Andrew.Myers, BreamoreBoy, berker.peksag, ghaering, r.david.murray |
| Date |
2016年03月27日.18:26:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1459103185.51.0.279300797358.issue18691@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think the name "parameters" causes a confusion here. It basically means
def execute(sql, parameters):
not
def execute(sql, *parameters):
So ``con.execute('insert into foo values (?, ?)', (4, 5))`` is the correct usage of the API.
Also, this looks like a duplicate of issue 20364. |
|