view Python/getplatform.c @ 35893:825655bfdf20 legacy-trunk

Last batch of ref leaks in new AST code. Also converted a bunch of assert(0) to SystemError's. There are still printfs, etc that need to be cleaned up.
author Neal Norwitz <nnorwitz@gmail.com>
date Sat, 19 Nov 2005 23:58:29 +0000
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}