summaryrefslogtreecommitdiffstats
path: root/Modules/faulthandler.c
diff options
context:
space:
mode:
authorLiyang Zhang <sudo.liyang@gmail.com>2023-03-25 21:27:02 (GMT)
committerGitHub <noreply@github.com>2023-03-25 21:27:02 (GMT)
commit11ed70b1dc69c9455d83638af5799dd0071b4ea8 (patch)
tree670781a51db1f4e01b8fe7e7356458f0de81fae1 /Modules/faulthandler.c
parent8ec6486462b920ab92ecb685a79fc3446681e1b8 (diff)
downloadcpython-11ed70b1dc69c9455d83638af5799dd0071b4ea8.zip
cpython-11ed70b1dc69c9455d83638af5799dd0071b4ea8.tar.gz
cpython-11ed70b1dc69c9455d83638af5799dd0071b4ea8.tar.bz2
Fix typos in faulthandler, testcapi error messages (#103020)
Diffstat (limited to 'Modules/faulthandler.c')
-rw-r--r--Modules/faulthandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
index bfe35fe..9b4e419 100644
--- a/Modules/faulthandler.c
+++ b/Modules/faulthandler.c
@@ -120,7 +120,7 @@ faulthandler_get_fileno(PyObject **file_ptr)
return -1;
if (fd < 0) {
PyErr_SetString(PyExc_ValueError,
- "file is not a valid file descripter");
+ "file is not a valid file descriptor");
return -1;
}
*file_ptr = NULL;