[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Modules xreadlinesmodule.c,NONE,1.1 Setup.dist,1.3,1.4

Thomas Wouters thomas@xs4all.net
Wed, 10 Jan 2001 19:06:06 +0100


On Tue, Jan 09, 2001 at 01:46:53PM -0800, Guido van Rossum wrote:

> static void
> xreadlines_dealloc(PyXReadlinesObject *op) {
> 	Py_XDECREF(op->file);
> 	Py_XDECREF(op->lines);
> 	PyObject_DEL(op);
> }

I'm confuzzled. Is this breach of the style guidelines intentional,
accidental, or just not cared enough about ? The style isn't even consistent
in that single module!

> void
> initxreadlines(void)
> {
> 	PyObject *m;
> 
> 	m = Py_InitModule("xreadlines", xreadlines_methods);
> }


-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!