diff options
| author | David Smith <smithdc@gmail.com> | 2025-05-27 17:37:22 +0100 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-08-25 10:51:10 -0300 |
| commit | 6f8e23d1c10c7ce32cea82b65ad2af640015f147 (patch) | |
| tree | 692a42d2a3c54a6610b17cc14679734973d98d89 /docs/ref/unicode.txt | |
| parent | ef2f16bc4824ca2b10b7f2845baf4d313c9c0da1 (diff) | |
Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in docs.
Diffstat (limited to 'docs/ref/unicode.txt')
| -rw-r--r-- | docs/ref/unicode.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/unicode.txt b/docs/ref/unicode.txt index dfd10b19db..087e349c95 100644 --- a/docs/ref/unicode.txt +++ b/docs/ref/unicode.txt @@ -150,7 +150,7 @@ URL from an :rfc:`IRI <3987>` -- very loosely speaking, a :rfc:`URI <3986>` that can contain Unicode characters. Use these functions for quoting and converting an IRI to a URI: -* The :func:`django.utils.encoding.iri_to_uri()` function, which implements the +* The :func:`django.utils.encoding.iri_to_uri` function, which implements the conversion from IRI to URI as required by :rfc:`3987#section-3.1`. * The :func:`urllib.parse.quote` and :func:`urllib.parse.quote_plus` @@ -192,7 +192,7 @@ you can construct your IRI without worrying about whether it contains non-ASCII characters and then, right at the end, call ``iri_to_uri()`` on the result. -Similarly, Django provides :func:`django.utils.encoding.uri_to_iri()` which +Similarly, Django provides :func:`django.utils.encoding.uri_to_iri` which implements the conversion from URI to IRI as per :rfc:`3987#section-3.2`. An example to demonstrate: |
