]> granicus.if.org Git - python/commitdiff
Fix silly typo in comment.
authorMichael W. Hudson <mwh@python.net>
Mon, 11 Aug 2003 16:14:06 +0000 (16:14 +0000)
committerMichael W. Hudson <mwh@python.net>
Mon, 11 Aug 2003 16:14:06 +0000 (16:14 +0000)
Objects/frameobject.c

index bdff3c41ddd95f8dc4ab69a1218b6c8078d55fab..2b042cd4835cb2d006cccc26c36b8fcb5c5c53f8 100644 (file)
@@ -609,7 +609,7 @@ PyFrame_New(PyThreadState *tstate, PyCodeObject *code, PyObject *globals,
        /* Most functions have CO_NEWLOCALS and CO_OPTIMIZED set. */
        if ((code->co_flags & (CO_NEWLOCALS | CO_OPTIMIZED)) == 
                (CO_NEWLOCALS | CO_OPTIMIZED))
-               locals = NULL; /* PyFrame_Fast2Locals() will set. */
+               locals = NULL; /* PyFrame_FastToLocals() will set. */
        else if (code->co_flags & CO_NEWLOCALS) {
                locals = PyDict_New();
                if (locals == NULL) {