le commit provoquant la fuzziness est une simple correction, qu'on avait déjà corrigé downstream, évidemment
```
commit a166cb4131587bbab05bde491fc95eb65523b2c9
Author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Date: Tue Mar 14 17:11:56 2023 -0700
gh-102703: Fix typo in modules tutorial documentation (GH-102707)
**Before**
This prevents directories with a common name, such as ``string``, unintentionally hiding ...
**After**
This prevents directories with a common name, such as ``string``, from unintentionally hiding ..
.
(cherry picked from commit 0a539b5db312d126ff45dd4aa6a53d40a292c512)
Co-authored-by: Robert Prater (B. Eng) <robcprater@gmail.com>
diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
index ad70d92994..4daafa49a3 100644
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -438,7 +438,7 @@ When importing the package, Python searches through the directories on
The :file:`__init__.py` files are required to make Python treat directories
containing the file as packages. This prevents directories with a common name,
-such as ``string``, unintentionally hiding valid modules that occur later
+such as ``string``, from unintentionally hiding valid modules that occur later
on the module search path. In the simplest case, :file:`__init__.py` can just be
an empty file, but it can also execute initialization code for the package or
set the ``__all__`` variable, described later.
```
Co-authored-by: Mathieu Dupuy <deronnax@gmail.com>
Reviewed-on: AFPy/python-docs-fr#139
Reviewed-by: Christophe Nanteuil <christophenan@noreply.localhost>
Co-authored-by: deronnax <deronnax@noreply.localhost>
Co-committed-by: deronnax <deronnax@noreply.localhost>
* Revue du tutoriel
* Poursuite de la revue
- guillemets français
- mise en cohérence «table de symboles» : local ou global est accordé avec symboles plutôt qu'avec table.
* revue à l'aide de padpo : typographie
* Merci @deronnax !
Là, je ne sais pas comment c'est passé au correcteur…
Co-Authored-By: Mathieu Dupuy <deronnax@users.noreply.github.com>
* Prise en compte de la revue de @deronnax et de Travis
* espaces insécables + prise en compte nouveau Makefile
* Update tutorial/modules.po
Co-Authored-By: Mathieu Dupuy <deronnax@users.noreply.github.com>
Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com>
import polib
import pathlib
def check(file):
pofile = polib.pofile(file)
for entry in pofile:
if not entry.msgstr:
continue
if entry.msgid.endswith(" ::"):
entry.msgstr = entry.msgstr.rstrip(": \u202f\u00A0") + " ::"
if entry.msgid.endswith("::") and not entry.msgid.endswith(" ::"):
entry.msgstr = entry.msgstr.rstrip(": ,. \u202f\u00A0") + "\u00A0::"
pofile.save()
for file in pathlib.Path(".").glob("*.po"):
check(file)
for file in pathlib.Path(".").glob("*/*.po"):
check(file)
* Disambiguate option/paramètre to avoid using flags in french.
* pospell on a few directories.
* FIX differences between my Hunspell version and travis one.
* Nice try.
* Hunspell 1.3.2, please.
* FIX feedback from Christophe.
* De mieux en mieux.