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