comparison Python/errors.c @ 86257:eeec58c57964

Don't export internal symbols ("make smelly")
author Antoine Pitrou <solipsis@pitrou.net>
date Sat, 12 Oct 2013 22:41:17 +0200
parents bfaf3a2907bd
children 954167ce92a3
comparison
equal deleted inserted replaced
86256:2cec3d85774b 86257:eeec58c57964
1012 fails, it will return NULL but will not set an exception. 1012 fails, it will return NULL but will not set an exception.
1013 1013
1014 XXX The functionality of this function is quite similar to the 1014 XXX The functionality of this function is quite similar to the
1015 functionality in tb_displayline() in traceback.c. */ 1015 functionality in tb_displayline() in traceback.c. */
1016 1016
1017 PyObject * 1017 static PyObject *
1018 err_programtext(FILE *fp, int lineno) 1018 err_programtext(FILE *fp, int lineno)
1019 { 1019 {
1020 int i; 1020 int i;
1021 char linebuf[1000]; 1021 char linebuf[1000];
1022 1022