view Modules/python.c @ 20010:d03c19db3094 legacy-trunk

Document new file() constructor, with the body of open()'s text, plus a "new in 2.2" blurb at the end. Replace open()'s text by pointing back to file().
author Tim Peters <tim.peters@gmail.com>
date Thu, 20 Sep 2001 19:55:29 +0000
parents a6c7bfdd6777
children f66b3a3509c7
line wrap: on
line source

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

#include "Python.h"

extern DL_EXPORT(int) Py_Main(int, char **);

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