1
0
mirror of https://github.com/django/django.git synced 2025-04-01 12:06:43 +00:00

[1.8.x] Fixed wrong operator in iri_to_uri() docs

Backport of 27ad12a9b865bf3deebd165360f73ace722cee31 from master
This commit is contained in:
ldrumm 2015-03-12 02:43:56 +00:00 committed by Baptiste Mispelon
parent 9f39715509
commit def39428bf

View File

@ -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
following is always true::
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)
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)
So you can safely call it multiple times on the same URI/IRI without risking
double-quoting problems.