From: Daniele Varrazzo Date: Thu, 16 Apr 2020 14:17:52 +0000 (+1200) Subject: added __impl__ constant to ctypes pq module X-Git-Tag: 3.0.dev0~556 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ee0d349450edc9895907fc773651d6483a6e56d;p=thirdparty%2Fpsycopg.git added __impl__ constant to ctypes pq module --- diff --git a/psycopg3/pq/pq_ctypes.py b/psycopg3/pq/pq_ctypes.py index 6ffa67707..a267af136 100644 --- a/psycopg3/pq/pq_ctypes.py +++ b/psycopg3/pq/pq_ctypes.py @@ -29,6 +29,8 @@ from ..errors import OperationalError if TYPE_CHECKING: from psycopg3 import pq # noqa +__impl__ = "ctypes" + def version() -> int: return impl.PQlibVersion()