view Python/getplatform.c @ 17018:7a36f6201c94 legacy-trunk

When iterating over the names imported in a future statement, ignore the commas in the concrete syntax; checking those causes a segfault. This fixes SF bug #407394.
author Fred Drake <fdrake@acm.org>
date Sat, 10 Mar 2001 02:15:37 +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;
}