Staging
v0.8.1
https://github.com/python/cpython
Revision 8b6c4a921af6d5d0a9640211ac93d7886a55a8f3 authored by Victor Stinner on 03 December 2020, 13:01:10 UTC, committed by GitHub on 03 December 2020, 13:01:10 UTC
Write also unit tests on Py_NewRef() and Py_XNewRef().
1 parent 7e5e13d
Raw File
Tip revision: 8b6c4a921af6d5d0a9640211ac93d7886a55a8f3 authored by Victor Stinner on 03 December 2020, 13:01:10 UTC
bpo-42262: Py_NewRef() casts its argument to PyObject* (GH-23626)
Tip revision: 8b6c4a9
getcopyright.c
/* Return the copyright string.  This is updated manually. */

#include "Python.h"

static const char cprt[] =
"\
Copyright (c) 2001-2020 Python Software Foundation.\n\
All Rights Reserved.\n\
\n\
Copyright (c) 2000 BeOpen.com.\n\
All Rights Reserved.\n\
\n\
Copyright (c) 1995-2001 Corporation for National Research Initiatives.\n\
All Rights Reserved.\n\
\n\
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\n\
All Rights Reserved.";

const char *
Py_GetCopyright(void)
{
    return cprt;
}
back to top