view Python/getplatform.c @ 74444:fe40a87484cc

use helpful PyUnicode_IS_ASCII macro
author Benjamin Peterson <benjamin@python.org>
date Mon, 16 Jan 2012 09:49:20 -0500
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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