Skip to content

Commit 0207bcc

Browse files
committed
Fix doc formatting
1 parent c8e897d commit 0207bcc

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

asyncpg/connection.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,19 +1871,19 @@ async def connect(dsn=None, *,
18711871
returned by `ssl.create_default_context() <create_default_context_>`_
18721872
will be used. The value can also be one of the following strings:
18731873
1874-
- ``'disable'`` - SSL is disabled (equivalent to ``False``)
1875-
- ``'prefer'`` - try SSL first, fallback to non-SSL connection
1876-
if SSL connection fails
1877-
- ``'allow'`` - currently equivalent to ``'prefer'``
1878-
- ``'require'`` - only try an SSL connection. Certificate
1879-
verifiction errors are ignored
1880-
- ``'verify-ca'`` - only try an SSL connection, and verify
1881-
that the server certificate is issued by a trusted certificate
1882-
authority (CA)
1883-
- ``'verify-full'`` - only try an SSL connection, verify
1884-
that the server certificate is issued by a trusted CA and
1885-
that the requested server host name matches that in the
1886-
certificate.
1874+
- ``'disable'`` - SSL is disabled (equivalent to ``False``)
1875+
- ``'prefer'`` - try SSL first, fallback to non-SSL connection
1876+
if SSL connection fails
1877+
- ``'allow'`` - currently equivalent to ``'prefer'``
1878+
- ``'require'`` - only try an SSL connection. Certificate
1879+
verifiction errors are ignored
1880+
- ``'verify-ca'`` - only try an SSL connection, and verify
1881+
that the server certificate is issued by a trusted certificate
1882+
authority (CA)
1883+
- ``'verify-full'`` - only try an SSL connection, verify
1884+
that the server certificate is issued by a trusted CA and
1885+
that the requested server host name matches that in the
1886+
certificate.
18871887
18881888
The default is ``'prefer'``: try an SSL connection and fallback to
18891889
non-SSL connection if that fails.

0 commit comments

Comments
 (0)