Skip to content

Commit

Permalink
s/quote/quote_plus/ in the note about DSN part quoting
Browse files Browse the repository at this point in the history
Noticed in #1151
  • Loading branch information
elprans committed Jun 7, 2024
1 parent 1aab209 commit 1194a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncpg/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ async def connect(dsn=None, *,
.. note::
The URI must be *valid*, which means that all components must
be properly quoted with :py:func:`urllib.parse.quote`, and
be properly quoted with :py:func:`urllib.parse.quote_plus`, and
any literal IPv6 addresses must be enclosed in square brackets.
For example:
Expand Down

0 comments on commit 1194a8a

Please sign in to comment.