summaryrefslogtreecommitdiffstats
path: root/Include/pylifecycle.h
diff options
context:
space:
mode:
authorxdegaye <xdegaye@gmail.com>2017-11-12 11:45:59 (GMT)
committerGitHub <noreply@github.com>2017-11-12 11:45:59 (GMT)
commit1588be66d7b0eeebc4614309cd0fc837ff52776a (patch)
tree97210c1876d31fe2bc78d9eb029725fd33adbb32 /Include/pylifecycle.h
parent9e78dc25179a492550dc602e47e7f4d24e3c89a3 (diff)
downloadcpython-1588be66d7b0eeebc4614309cd0fc837ff52776a.zip
cpython-1588be66d7b0eeebc4614309cd0fc837ff52776a.tar.gz
cpython-1588be66d7b0eeebc4614309cd0fc837ff52776a.tar.bz2
bpo-28180: Fix the implementation of PEP 538 on Android (GH-4334)
Diffstat (limited to 'Include/pylifecycle.h')
-rw-r--r--Include/pylifecycle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h
index 8bbce7f..f7286f3 100644
--- a/Include/pylifecycle.h
+++ b/Include/pylifecycle.h
@@ -137,6 +137,7 @@ PyAPI_FUNC(int) _PyOS_URandomNonblock(void *buffer, Py_ssize_t size);
#ifndef Py_LIMITED_API
PyAPI_FUNC(void) _Py_CoerceLegacyLocale(void);
PyAPI_FUNC(int) _Py_LegacyLocaleDetected(void);
+PyAPI_FUNC(char *) _Py_SetLocaleFromEnv(int category);
#endif
#ifdef __cplusplus