Staging
v0.5.1
https://github.com/python/cpython
Revision 073150db39408c1800e4b9e895ad0b0e195f1056 authored by INADA Naoki on 14 October 2017, 12:22:41 UTC, committed by GitHub on 14 October 2017, 12:22:41 UTC
This sentence is removed while backporting to 3.6 branch.
See https://github.com/python/cpython/pull/3982#discussion_r144555768
1 parent cd195e2
Raw File
Tip revision: 073150db39408c1800e4b9e895ad0b0e195f1056 authored by INADA Naoki on 14 October 2017, 12:22:41 UTC
bpo-31672: doc: Remove one sentence from library/string.rst (GH-3990)
Tip revision: 073150d
getplatform.c

#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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