view Python/getplatform.c @ 41126:a87bcc37bf0f legacy-trunk

Bug #1678647: write a newline after printing an exception in any case, even when converting the value to a string failed.
author Georg Brandl <georg@python.org>
date Mon, 12 Mar 2007 14:30:05 +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;
}