view Python/getplatform.c @ 56715:aacee9749d15 legacy-trunk

Issue #7117 (backport py3k float repr) continued: Add sys.float_repr_style attribute ('short' if short float repr is in used; 'legacy' otherwise).
author Mark Dickinson <dickinsm@gmail.com>
date Sat, 24 Oct 2009 14:01:08 +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;
}