view Python/getplatform.c @ 73593:94a38ad4aebf

Catch PyUnicode_AS_UNICODE() errors in fileutils.c
author Victor Stinner <victor.stinner@haypocalc.com>
date Thu, 17 Nov 2011 00:51:38 +0100
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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