summaryrefslogtreecommitdiff
path: root/Modules/faulthandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/faulthandler.c')
-rw-r--r--Modules/faulthandler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
index 11d5340004..51c66bdd65 100644
--- a/Modules/faulthandler.c
+++ b/Modules/faulthandler.c
@@ -146,8 +146,8 @@ static PyObject*
faulthandler_get_fileno(PyObject *file, int *p_fd)
{
PyObject *result;
- _Py_identifier(fileno);
- _Py_identifier(flush);
+ _Py_IDENTIFIER(fileno);
+ _Py_IDENTIFIER(flush);
long fd_long;
int fd;
@@ -1199,7 +1199,7 @@ static int
faulthandler_env_options(void)
{
PyObject *xoptions, *key, *module, *res;
- _Py_identifier(enable);
+ _Py_IDENTIFIER(enable);
if (!Py_GETENV("PYTHONFAULTHANDLER")) {
int has_key;