Fixed code block.

This commit is contained in:
Daniele Varrazzo 2010-02-15 03:08:51 +00:00
parent 289ab1cd8d
commit 491bbb111c

View File

@ -291,7 +291,7 @@ The ``cursor`` class
According to the |DBAPI|_, the exception raised for a cursor out
of bound should have been :exc:`!IndexError`. The best option is
probably to catch both exceptions in your code:
probably to catch both exceptions in your code::
try:
cur.scroll(1000 * 1000)