view Python/getcopyright.c @ 65589:46bbbdcd777f

Refactor interesting use of try-finally.
author Georg Brandl <georg@python.org>
date Fri, 22 Oct 2010 06:35:59 +0000
parents 550b38caf5c1
children 5dba67ca6ccf
line wrap: on
line source

/* Return the copyright string.  This is updated manually. */

#include "Python.h"

static char cprt[] =
"\
Copyright (c) 2001-2010 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;
}