From 491bbb111c648405394baf05ba4273bf215621b2 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 15 Feb 2010 03:08:51 +0000 Subject: [PATCH] Fixed code block. --- doc/src/cursor.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)