Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3023f78 commit 2d4e077Copy full SHA for 2d4e077
1 file changed
Modules/structmodule.c
@@ -46,7 +46,7 @@ static PyObject *StructError;
46
#ifdef __MWERKS__
47
/*
48
** XXXX We have a problem here. There are no unique alignment rules
49
-** on the PowerPC mac.
+** on the PowerPC mac.
50
*/
51
#ifdef __powerc
52
#pragma options align=mac68k
@@ -1112,7 +1112,7 @@ calcsize(const char *fmt, const formatdef *f)
1112
}
1113
else
1114
num = 1;
1115
-
+
1116
e = getentry(c, f);
1117
if (e == NULL)
1118
return -1;
@@ -1172,7 +1172,7 @@ struct_pack(PyObject *self, PyObject *args)
1172
if (args == NULL || !PyTuple_Check(args) ||
1173
(n = PyTuple_Size(args)) < 1)
1174
{
1175
- PyErr_SetString(PyExc_TypeError,
+ PyErr_SetString(PyExc_TypeError,
1176
"struct.pack requires at least one argument");
1177
return NULL;
1178
0 commit comments