@@ -726,18 +726,6 @@ Glossary
726726 thread removes *key * from *mapping * after the test, but before the lookup.
727727 This issue can be solved with locks or by using the EAFP approach.
728728
729- locale encoding
730- On Unix, it is the encoding of the LC_CTYPE locale. It can be set with
731- :func: `locale.setlocale(locale.LC_CTYPE, new_locale) <locale.setlocale> `.
732-
733- On Windows, it is the ANSI code page (ex: ``"cp1252" ``).
734-
735- On Android and VxWorks, Python uses ``"utf-8" `` as the locale encoding.
736-
737- ``locale.getencoding() `` can be used to get the locale encoding.
738-
739- See also the :term: `filesystem encoding and error handler `.
740-
741729 list
742730 A built-in Python :term: `sequence `. Despite its name it is more akin
743731 to an array in other languages than to a linked list since access to
@@ -757,6 +745,18 @@ Glossary
757745 :term: `finder `. See :pep: `302 ` for details and
758746 :class: `importlib.abc.Loader ` for an :term: `abstract base class `.
759747
748+ locale encoding
749+ On Unix, it is the encoding of the LC_CTYPE locale. It can be set with
750+ :func: `locale.setlocale(locale.LC_CTYPE, new_locale) <locale.setlocale> `.
751+
752+ On Windows, it is the ANSI code page (ex: ``"cp1252" ``).
753+
754+ On Android and VxWorks, Python uses ``"utf-8" `` as the locale encoding.
755+
756+ :func: `locale.getencoding ` can be used to get the locale encoding.
757+
758+ See also the :term: `filesystem encoding and error handler `.
759+
760760 magic method
761761 .. index :: pair: magic; method
762762
0 commit comments