]> granicus.if.org Git - python/commit
Fix a bunch of warnings reported by Skip.
authorGuido van Rossum <guido@python.org>
Mon, 15 Oct 2001 21:12:54 +0000 (21:12 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 15 Oct 2001 21:12:54 +0000 (21:12 +0000)
commit17209fcf1f3d8a06237c8f326ca2608fd2cb9ab4
treecc6196c09f8d9959f753f5f918b3a2754664d04d
parent2f3ca6eeb6eeebcfa038cd52aca5fecfa74dbd28
Fix a bunch of warnings reported by Skip.

To whoever who changed a bunch of (PyCFunction) casts to
(PyNoArgsFunction) in PyMethodDef initializers: don't do that.  The
cast is to shut the compiler up.  The compiler wants the function
pointer initializer to be a PyCFunction.
Modules/socketmodule.c