jenkins-bot submitted this change.
[doc] userinterface_lang is obtained from locale.getlocale by default
locale.getdefaultlocale will be removed in Python 3.13.
Update documentation; the code was already changed.
Change-Id: Ia80df9ded08c6baf57e77b61103a86151a5022a3
---
M docs/introduction.rst
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/docs/introduction.rst b/docs/introduction.rst
index 922fd22..b5dc1fb 100644
--- a/docs/introduction.rst
+++ b/docs/introduction.rst
@@ -31,7 +31,7 @@
#. set the `userinterface_lang` in your :ref:`user-config.py<User Interface Settings>` to your preferred language
#. set environment variable `PYWIKIBOT_USERINTERFACE_LANG` to your preferred language
-#. default is obtained from `locale.getdefaultlocale`
+#. default is obtained from `locale.getlocale`
#. fallback is `'en'` for English if all other options fails
.. note:: The preferred language code must follow ISO 639.
To view, visit change 868099. To unsubscribe, or for help writing mail filters, visit settings.