Author: cito
Date: Mon Aug 3 16:11:53 2015
New Revision: 522
Log:
Correction in docstring (reported by Philipp Hahn).
Modified:
trunk/module/pgdb.py
Modified: trunk/module/pgdb.py
==============================================================================
--- trunk/module/pgdb.py Sat Jul 18 20:57:59 2015 (r521)
+++ trunk/module/pgdb.py Mon Aug 3 16:11:53 2015 (r522)
@@ -23,9 +23,9 @@
# All parts are optional. You may also pass host through
# password as keyword arguments. To pass a port,
# pass it in the host keyword parameter:
- pgdb.connect(host='localhost:5432')
+ connection = pgdb.connect(host='localhost:5432')
- connection.cursor() # open a cursor
+ cursor = connection.cursor() # open a cursor
cursor.execute(query[, params])
# Execute a query, binding params (a dictionary) if they are
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql