Title: [955] trunk/pg.py: Slightly better docstrings regarding unnamed statements
Revision
955
Author
cito
Date
2019-01-03 17:52:19 -0500 (Thu, 03 Jan 2019)

Log Message

Slightly better docstrings regarding unnamed statements

Modified Paths


Diff

Modified: trunk/pg.py (954 => 955)


--- trunk/pg.py	2019-01-03 22:35:30 UTC (rev 954)
+++ trunk/pg.py	2019-01-03 22:52:19 UTC (rev 955)
@@ -1874,8 +1874,8 @@
 
         This works like the query() method, but you need to pass the name of
         a prepared statement that you have already created with prepare().
-        If you pass no parameters or pass an empty name, then the last unnamed
-        statement will be executed.
+        If you pass no parameters or pass an empty name, then the unnamed
+        statement will be executed if you created one before.
         """
         if not self.db:
             raise _int_error('Connection is not valid')
@@ -1912,7 +1912,7 @@
 
         This method returns a Query object describing the result columns of
         the prepared statement with the given name. If you do not specify a
-        name, then the last unnamed statement will be described.
+        name, then the unnamed statement will be described if you created one.
         """
         if name is None:
             name = ''
_______________________________________________
PyGreSQL mailing list
PyGreSQL@Vex.Net
https://mail.vex.net/mailman/listinfo/pygresql

Reply via email to