This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients Dave Sawyer, SilentGhost, berker.peksag, docs@python, ghaering
Date 2016-06-05.17:26:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465147605.14.0.234032712619.issue27188@psf.upfronthosting.co.za>
In-reply-to
Content
Could you also change the function signatures from

    .. method:: execute(sql, [parameters])

to

    .. method:: execute(sql[, parameters])

and document that parameters should be list (or sequence or iterable -- I'm a the airport now so I can't check what is the correct term)?

I'm not a native speaker but this sentence sounds a bit weird to me:

    This is a nonstandard shortcut that creates a cursor object by calling the cursor method, calls the cursor's :meth:`execute <Cursor.execute>` [...]

Perhaps it can be changed to


    This is a nonstandard shortcut that creates a cursor object by calling the cursor's :meth:`execute <Cursor.execute>` method [...]

Also, please change the following usages

    :meth:`execute <Cursor.execute>`

with

    :meth:`~Cursor.execute`
History
Date User Action Args
2016-06-05 17:26:45berker.peksagsetrecipients: + berker.peksag, ghaering, SilentGhost, docs@python, Dave Sawyer
2016-06-05 17:26:45berker.peksagsetmessageid: <1465147605.14.0.234032712619.issue27188@psf.upfronthosting.co.za>
2016-06-05 17:26:45berker.peksaglinkissue27188 messages
2016-06-05 17:26:45berker.peksagcreate