doc: more renaming

This commit is contained in:
Goffi 2021-04-22 18:16:19 +02:00
commit 2695a5a15b

View file

@ -309,7 +309,7 @@ returned.
example
-------
Imagine that you want to replace all occurrences of "sàt" by "Salut à Toi" in your personal blog. You first create a Python script like this:
Imagine that you want to replace all occurrences of "sàt" by "Libervia" in your personal blog. You first create a Python script like this:
.. sourcecode:: python
@ -320,7 +320,7 @@ Imagine that you want to replace all occurrences of "sàt" by "Salut à Toi" in
if not "sàt" in item_raw:
print("SKIP")
else:
print(item_raw.replace("sàt", "Salut à Toi"))
print(item_raw.replace("sàt", "Libervia"))
And save it a some location, e.g. ``~/expand_sat.py`` (don't forget to make is executable
with ``chmod +x ~/expand_sat.py``).