mirror of
https://github.com/django/django.git
synced 2025-09-29 13:34:57 +00:00
[1.8.x] Fixed wrong operator in iri_to_uri() docs
Backport of 27ad12a9b8
from master
This commit is contained in:
parent
9f39715509
commit
def39428bf
1 changed files with 2 additions and 2 deletions
|
@ -232,8 +232,8 @@ lies outside the valid UTF-8 range.
|
||||||
Both ``iri_to_uri()`` and ``uri_to_iri()`` functions are idempotent, which means the
|
Both ``iri_to_uri()`` and ``uri_to_iri()`` functions are idempotent, which means the
|
||||||
following is always true::
|
following is always true::
|
||||||
|
|
||||||
iri_to_uri(iri_to_uri(some_string)) = iri_to_uri(some_string)
|
iri_to_uri(iri_to_uri(some_string)) == iri_to_uri(some_string)
|
||||||
uri_to_iri(uri_to_iri(some_string)) = uri_to_iri(some_string)
|
uri_to_iri(uri_to_iri(some_string)) == uri_to_iri(some_string)
|
||||||
|
|
||||||
So you can safely call it multiple times on the same URI/IRI without risking
|
So you can safely call it multiple times on the same URI/IRI without risking
|
||||||
double-quoting problems.
|
double-quoting problems.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue