[Python-checkins] cpython: Issue #27171: Fix typo in exception message

martin.panter python-checkins at python.org
Thu Jun 2 06:41:07 EDT 2016


https://hg.python.org/cpython/rev/0ddba0abab49
changeset:   101596:0ddba0abab49
user:        Martin Panter <vadmium+py at gmail.com>
date:        Thu Jun 02 10:13:47 2016 +0000
summary:
  Issue #27171: Fix typo in exception message

files:
  Modules/_ctypes/callproc.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c
--- a/Modules/_ctypes/callproc.c
+++ b/Modules/_ctypes/callproc.c
@@ -380,7 +380,7 @@
            whose operation is not allowed in the current
            machine mode. */
         PyErr_SetString(PyExc_OSError,
-                        "exception: priviledged instruction");
+                        "exception: privileged instruction");
         break;
 
     case EXCEPTION_NONCONTINUABLE_EXCEPTION:

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list