[Python-checkins] python/dist/src/Python bltinmodule.c,2.314,2.315

mwh at users.sourceforge.net mwh at users.sourceforge.net
Mon Aug 2 15:21:12 CEST 2004


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7350/Python

Modified Files:
	bltinmodule.c 
Log Message:
for some reason, the lack of adherence to Python's C whitespace rules
must have annoyed me at some point.


Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.314
retrieving revision 2.315
diff -C2 -d -r2.314 -r2.315
*** bltinmodule.c	2 Aug 2004 08:30:07 -0000	2.314
--- bltinmodule.c	2 Aug 2004 13:21:09 -0000	2.315
***************
*** 1589,1593 ****
  			return NULL;
  	}
! 	if (PyFile_Check (fin) && PyFile_Check (fout)
              && isatty(fileno(PyFile_AsFile(fin)))
              && isatty(fileno(PyFile_AsFile(fout)))) {
--- 1589,1593 ----
  			return NULL;
  	}
! 	if (PyFile_Check(fin) && PyFile_Check(fout)
              && isatty(fileno(PyFile_AsFile(fin)))
              && isatty(fileno(PyFile_AsFile(fout)))) {
***************
*** 1608,1612 ****
  			prompt = "";
  		}
! 		s = PyOS_Readline(PyFile_AsFile (fin), PyFile_AsFile (fout),
                                    prompt);
  		Py_XDECREF(po);
--- 1608,1612 ----
  			prompt = "";
  		}
! 		s = PyOS_Readline(PyFile_AsFile(fin), PyFile_AsFile(fout),
                                    prompt);
  		Py_XDECREF(po);



More information about the Python-checkins mailing list