https://github.com/python/cpython
Raw File
Tip revision: de43ce11ccee0c584027edc70fd1c9e9e21ed66b authored by Miss Islington (bot) on 23 March 2024, 10:19:14 UTC
[3.11] [docs] Fix typo in docstring and add example to logging cookbook. (GH-117157) (GH-117158)
Tip revision: de43ce1
getplatform.c

#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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