changeset 51:03b6934cdd63

typo
author Tassilo Philipp
date Wed, 09 Dec 2020 15:56:13 +0100
parents edf5c85de5ac
children c5ca08cd3e78
files python/pydc/pydc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/python/pydc/pydc.c	Sat Nov 14 21:18:09 2020 +0100
+++ b/python/pydc/pydc.c	Wed Dec 09 15:56:13 2020 +0100
@@ -354,13 +354,13 @@
 
 			case DC_SIGCHAR_FLOAT:
 				if (!PyFloat_Check(po))
-					return PyErr_Format( PyExc_RuntimeError, "arg %d - expeecting a float", pos );
+					return PyErr_Format( PyExc_RuntimeError, "arg %d - expecting a float", pos );
 				dcArgFloat(gpCall, (float)PyFloat_AsDouble(po));
 				break;
 
 			case DC_SIGCHAR_DOUBLE:
 				if (!PyFloat_Check(po))
-					return PyErr_Format( PyExc_RuntimeError, "arg %d - expeecting a float", pos );
+					return PyErr_Format( PyExc_RuntimeError, "arg %d - expecting a float", pos );
 				dcArgDouble(gpCall, PyFloat_AsDouble(po));
 				break;