annotate Python/getcopyright.c @ 53787:c6376d3fa968

Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson.
author Eric Smith <eric@trueblade.com>
date Tue, 05 May 2009 14:04:18 +0000
parents fb905890d049
children 1d0fde59ddea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2896
f0d9f800a4aa Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 /* Return the copyright string. This is updated manually. */
f0d9f800a4aa Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
2
3101
237c3b2a6187 include Python.h
Guido van Rossum <guido@python.org>
parents: 2896
diff changeset
3 #include "Python.h"
237c3b2a6187 include Python.h
Guido van Rossum <guido@python.org>
parents: 2896
diff changeset
4
12658
e2e436a62898 At Bob Kahn's request, add CNRI to the copyright string (but not to
Guido van Rossum <guido@python.org>
parents: 4503
diff changeset
5 static char cprt[] =
15985
17f23f8cd8c7 Add my name to the copyright notice.
Guido van Rossum <guido@python.org>
parents: 14395
diff changeset
6 "\
50568
fb905890d049 Merged revisions 68245 via svnmerge from
Georg Brandl <georg@python.org>
parents: 45597
diff changeset
7 Copyright (c) 2001-2009 Python Software Foundation.\n\
15985
17f23f8cd8c7 Add my name to the copyright notice.
Guido van Rossum <guido@python.org>
parents: 14395
diff changeset
8 All Rights Reserved.\n\
17f23f8cd8c7 Add my name to the copyright notice.
Guido van Rossum <guido@python.org>
parents: 14395
diff changeset
9 \n\
17f23f8cd8c7 Add my name to the copyright notice.
Guido van Rossum <guido@python.org>
parents: 14395
diff changeset
10 Copyright (c) 2000 BeOpen.com.\n\
14395
532c9ce6c87c All right. More uniformity, and extra blank lines.
Guido van Rossum <guido@python.org>
parents: 14394
diff changeset
11 All Rights Reserved.\n\
532c9ce6c87c All right. More uniformity, and extra blank lines.
Guido van Rossum <guido@python.org>
parents: 14394
diff changeset
12 \n\
17458
0d0546bd8448 Because this code was derived from Python 1.6.1 (amongst others), the
Guido van Rossum <guido@python.org>
parents: 17443
diff changeset
13 Copyright (c) 1995-2001 Corporation for National Research Initiatives.\n\
14384
6fb61b83435d Change the copyright notice according to CNRI's wishes, with
Guido van Rossum <guido@python.org>
parents: 14375
diff changeset
14 All Rights Reserved.\n\
14395
532c9ce6c87c All right. More uniformity, and extra blank lines.
Guido van Rossum <guido@python.org>
parents: 14394
diff changeset
15 \n\
14394
2eeb58b43eb1 Use periods, not semicolons between Copyright and All Rights Reserved.
Guido van Rossum <guido@python.org>
parents: 14384
diff changeset
16 Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\n\
14384
6fb61b83435d Change the copyright notice according to CNRI's wishes, with
Guido van Rossum <guido@python.org>
parents: 14375
diff changeset
17 All Rights Reserved.";
12658
e2e436a62898 At Bob Kahn's request, add CNRI to the copyright string (but not to
Guido van Rossum <guido@python.org>
parents: 4503
diff changeset
18
2896
f0d9f800a4aa Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
19 const char *
13658
f79434ee41fa Mass ANSIfication of function definitions. Doesn't cover all 'extern'
Thomas Wouters <thomas@python.org>
parents: 13255
diff changeset
20 Py_GetCopyright(void)
2896
f0d9f800a4aa Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 {
12658
e2e436a62898 At Bob Kahn's request, add CNRI to the copyright string (but not to
Guido van Rossum <guido@python.org>
parents: 4503
diff changeset
22 return cprt;
2896
f0d9f800a4aa Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
23 }