fix for some pedantic warnings.

This commit is contained in:
2010-12-03 01:52:28 +00:00
parent 9e5577db47
commit b45c3363fd
54 changed files with 788 additions and 741 deletions

View File

@@ -329,9 +329,9 @@ static PySequenceMethods Color_SeqMethods = {
(binaryfunc) NULL, /* sq_concat */
(ssizeargfunc) NULL, /* sq_repeat */
(ssizeargfunc) Color_item, /* sq_item */
(ssizessizeargfunc) NULL, /* sq_slice, deprecated */
NULL, /* sq_slice, deprecated */
(ssizeobjargproc) Color_ass_item, /* sq_ass_item */
(ssizessizeobjargproc) NULL, /* sq_ass_slice, deprecated */
NULL, /* sq_ass_slice, deprecated */
(objobjproc) NULL, /* sq_contains */
(binaryfunc) NULL, /* sq_inplace_concat */
(ssizeargfunc) NULL, /* sq_inplace_repeat */

View File

@@ -573,7 +573,7 @@ static char Vector_Difference_doc[] =
" :return: the rotational difference between the two vectors.\n"
" :rtype: :class:`Quaternion`\n"
"\n"
" .. note:: 2D vectors raise an :exc:`AttributeError`.\n";;
" .. note:: 2D vectors raise an :exc:`AttributeError`.\n";
static PyObject *Vector_Difference(VectorObject *self, VectorObject *value )
{