From: Daniele Varrazzo Date: Fri, 13 Nov 2020 13:36:45 +0000 (+0000) Subject: Docs build script path fixed X-Git-Tag: 3.0.dev0~367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25501761b4914ae23fcd7d483d99a11096a04406;p=thirdparty%2Fpsycopg.git Docs build script path fixed --- diff --git a/.travis.yml b/.travis.yml index 4beb545c7..ebb68e133 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/psycopg3/psycopg3/cursor.py b/psycopg3/psycopg3/cursor.py index e21d51479..bf865e410 100644 --- a/psycopg3/psycopg3/cursor.py +++ b/psycopg3/psycopg3/cursor.py @@ -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):