]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Docs build script path fixed
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 13 Nov 2020 13:36:45 +0000 (13:36 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 13 Nov 2020 13:37:08 +0000 (13:37 +0000)
.travis.yml
psycopg3/psycopg3/cursor.py

index 4beb545c71a6bfda6c1269735d201fac48c1853d..ebb68e1334f517e516d382cd8938c8c623d00ee4 100644 (file)
@@ -115,7 +115,7 @@ script:
 
 deploy:
   - provider: script
-    script: bash scripts/travis_update_docs.sh
+    script: bash tools/travis_update_docs.sh
     on:
       branch: master
       condition: "$BUILD_DOCS = 1"
index e21d51479fba871d387b22fd74eabef692ba3c7e..bf865e4104d2c8b2bc76811a4a12d21136b5ee03 100644 (file)
@@ -211,7 +211,7 @@ class BaseCursor(Generic[ConnectionType]):
         """
         A list of `Column` object describing the current resultset.
 
-        `None` if the current resulset didn't return tuples.
+        `!None` if the current resultset didn't return tuples.
         """
         res = self.pgresult
         if not res or res.status != self.ExecStatus.TUPLES_OK:
@@ -235,6 +235,9 @@ class BaseCursor(Generic[ConnectionType]):
     def nextset(self) -> Optional[bool]:
         """
         Move to the next result set if `execute()` returned more than one.
+
+        Return `!True` if a new result is available, which will be the one
+        methods `!fetch*()` will operate on.
         """
         self._iresult += 1
         if self._iresult < len(self._results):