comparison Python/sysmodule.c @ 2421:6eda642f19d0 legacy-trunk

add explicit 0 flags for methodlist
author Guido van Rossum <guido@python.org>
date Tue, 21 Feb 1995 21:03:24 +0000
parents e8cafb2b743a
children ae131b8b4e31
comparison
equal deleted inserted replaced
2420:6beef17871f9 2421:6eda642f19d0
153 return None; 153 return None;
154 } 154 }
155 #endif /* USE_MALLOPT */ 155 #endif /* USE_MALLOPT */
156 156
157 static struct methodlist sys_methods[] = { 157 static struct methodlist sys_methods[] = {
158 {"exit", sys_exit}, 158 {"exit", sys_exit, 0},
159 #ifdef USE_MALLOPT 159 #ifdef USE_MALLOPT
160 {"mdebug", sys_mdebug}, 160 {"mdebug", sys_mdebug, 0},
161 #endif 161 #endif
162 {"setprofile", sys_setprofile}, 162 {"setprofile", sys_setprofile, 0},
163 {"settrace", sys_settrace}, 163 {"settrace", sys_settrace, 0},
164 {"setcheckinterval", sys_setcheckinterval}, 164 {"setcheckinterval", sys_setcheckinterval, 0},
165 {NULL, NULL} /* sentinel */ 165 {NULL, NULL} /* sentinel */
166 }; 166 };
167 167
168 static object *sysin, *sysout, *syserr; 168 static object *sysin, *sysout, *syserr;
169 169