view Python/getcopyright.c @ 49783:eade47dfc1e4 legacy-trunk

Fixed issue #4233. Changed semantic of _fileio.FileIO's close() method on file objects with closefd=False. The file descriptor is still kept open but the file object behaves like a closed file. The FileIO object also got a new readonly attribute closefd. Approved by Barry Backport of r67106 from the py3k branch
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Thu, 20 Nov 2008 23:34:31 +0000
parents 2d0bd095c420
children fb905890d049
line wrap: on
line source

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

#include "Python.h"

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