Mercurial > cpython-lru_cache-weakref
view Python/getcopyright.c @ 72558:6da962d77eb3
remove "fast-path" for (i)adding strings
These were just an artifact of the old unicode concatenation hack and likely
just penalized other kinds of adding. Also, this fixes __(i)add__ on string
subclasses.
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Fri, 30 Sep 2011 21:31:21 -0400 |
| parents | 3c9232a684ae |
| children | 879798e70473 |
line wrap: on
line source
/* Return the copyright string. This is updated manually. */ #include "Python.h" static char cprt[] = "\ Copyright (c) 2001-2011 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; }
