From 113e4a432e6c85330ede2b8dc641b4887856f687 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Sat, 14 Nov 2020 11:59:41 +0000 Subject: [PATCH 1/3] fix link in connect docstring --- asyncpg/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncpg/connection.py b/asyncpg/connection.py index b7266471..b13d69cf 100644 --- a/asyncpg/connection.py +++ b/asyncpg/connection.py @@ -1920,7 +1920,7 @@ async def connect(dsn=None, *, https://www.postgresql.org/docs/current/static/libpq-envars.html .. _libpq connection URI format: https://www.postgresql.org/docs/current/static/\ - libpq-connect.html#LIBPQ-CONNSTRING +libpq-connect.html#LIBPQ-CONNSTRING """ if not issubclass(connection_class, Connection): raise TypeError( From 8fc1e60740a9c910090f13d770dcfa16babadb0a Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Tue, 17 Nov 2020 10:50:43 +0000 Subject: [PATCH 2/3] try a different indent --- asyncpg/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncpg/connection.py b/asyncpg/connection.py index b13d69cf..a519c45d 100644 --- a/asyncpg/connection.py +++ b/asyncpg/connection.py @@ -1920,7 +1920,7 @@ async def connect(dsn=None, *, https://www.postgresql.org/docs/current/static/libpq-envars.html .. _libpq connection URI format: https://www.postgresql.org/docs/current/static/\ -libpq-connect.html#LIBPQ-CONNSTRING + libpq-connect.html#LIBPQ-CONNSTRING """ if not issubclass(connection_class, Connection): raise TypeError( From 801f91b7bab7bbb2779c49203654cfc07b7fe4c0 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Tue, 17 Nov 2020 19:10:32 +0000 Subject: [PATCH 3/3] try removing slash --- asyncpg/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asyncpg/connection.py b/asyncpg/connection.py index a519c45d..69997710 100644 --- a/asyncpg/connection.py +++ b/asyncpg/connection.py @@ -1919,8 +1919,8 @@ async def connect(dsn=None, *, .. _postgres envvars: https://www.postgresql.org/docs/current/static/libpq-envars.html .. _libpq connection URI format: - https://www.postgresql.org/docs/current/static/\ - libpq-connect.html#LIBPQ-CONNSTRING + https://www.postgresql.org/docs/current/static/ + libpq-connect.html#LIBPQ-CONNSTRING """ if not issubclass(connection_class, Connection): raise TypeError(