view Modules/python.c @ 11571:07d2ea71acdc legacy-trunk

Only set msg.fp to None when there are no extra arguments; if there are, we must keep the file around so we can print the body.
author Guido van Rossum <guido@python.org>
date Tue, 14 Dec 1999 22:18:37 +0000
parents 0f3f9e366356
children 3abecb34737f
line wrap: on
line source

/* Minimal main program -- everything is loaded from the library */

#include "Python.h"

extern DL_EXPORT(int) Py_Main();

int
main(argc, argv)
	int argc;
	char **argv;
{
	return Py_Main(argc, argv);
}