summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl/debughelpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_ssl/debughelpers.c')
-rw-r--r--Modules/_ssl/debughelpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ssl/debughelpers.c b/Modules/_ssl/debughelpers.c
index 9c87f8b..318c045 100644
--- a/Modules/_ssl/debughelpers.c
+++ b/Modules/_ssl/debughelpers.c
@@ -180,8 +180,8 @@ _PySSLContext_set_keylog_filename(PySSLContext *self, PyObject *arg, void *c) {
return 0;
}
- /* _Py_fopen_obj() also checks that arg is of proper type. */
- fp = _Py_fopen_obj(arg, "a" PY_STDIOTEXTMODE);
+ /* Py_fopen() also checks that arg is of proper type. */
+ fp = Py_fopen(arg, "a" PY_STDIOTEXTMODE);
if (fp == NULL)
return -1;