view Python/getplatform.c @ 37412:dfc33ec7f73a legacy-trunk

* Fix a refleak of *_attributes. * Cleanup formatting a bit (add spaces). * Move static var initialized inside init_types() since that's the only place it's used.
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 03 Apr 2006 04:50:58 +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;
}