view Python/getplatform.c @ 68737:238cbd559e9c

Fix imp.cache_from_source() if the directory name contains a dot If the directory name contains a dot but not the filename, don't strip at the dot.
author Victor Stinner <victor.stinner@haypocalc.com>
date Mon, 14 Mar 2011 15:05:12 -0400
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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