diff --git a/docs/examples/python/connect_rest_examples.py b/docs/examples/python/connect_rest_examples.py index 0f8625ae53..1c432dcc65 100644 --- a/docs/examples/python/connect_rest_examples.py +++ b/docs/examples/python/connect_rest_examples.py @@ -33,6 +33,8 @@ data = cursor.fetchall() print(column_names) for row in data: print(row) +# close cursor +cursor.close() # output: # inserted row count: 8