diff --git a/doc/src/cursor.rst b/doc/src/cursor.rst index 43dca243..55cef3b7 100644 --- a/doc/src/cursor.rst +++ b/doc/src/cursor.rst @@ -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)