Mercurial > cpython-lru_cache-weakref
view Python/getcopyright.c @ 78236:e683084c8bb9
Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.
| author | Gregory P. Smith <greg@krypto.org> |
|---|---|
| date | Sat, 21 Jul 2012 21:20:44 -0700 |
| parents | f1a9a6505731 |
| children | 24d6e8ca27d2 |
line wrap: on
line source
/* Return the copyright string. This is updated manually. */ #include "Python.h" static char cprt[] = "\ Copyright (c) 2001-2012 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; }
