view Modules/python.c @ 20903:bfcc2ed9caba legacy-trunk

Add a regression test for SF bug #478536: If a value cannot be weakly referenced, WeakKeyDictionary.has_key() should return 0 instead of raising TypeError.
author Fred Drake <fdrake@acm.org>
date Tue, 06 Nov 2001 16:38:34 +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);
}