diff Include/stringobject.h @ 40484:8565e3fea9b6

Patch #1601678: move intern() to sys.intern().
author Georg Brandl <georg@python.org>
date Tue, 19 Dec 2006 20:50:34 +0000
parents 7fdc639bc5b4
children f2f0b41f270d
line wrap: on
line diff
--- a/Include/stringobject.h	Tue Dec 19 08:30:14 2006 +0000
+++ b/Include/stringobject.h	Tue Dec 19 20:50:34 2006 +0000
@@ -28,7 +28,7 @@
    Interning strings (ob_sstate) tries to ensure that only one string
    object with a given value exists, so equality tests can be one pointer
    comparison.  This is generally restricted to strings that "look like"
-   Python identifiers, although the intern() builtin can be used to force
+   Python identifiers, although the sys.intern() function can be used to force
    interning of any string.
    Together, these sped the interpreter by up to 20%. */