summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2003-08-11 16:14:06 (GMT)
committerMichael W. Hudson <mwh@python.net>2003-08-11 16:14:06 (GMT)
commitbdc6ea11102a00caf90a8c644898a00722e41c28 (patch)
tree0e6c942212a77232b050de331b5edcfaaa027303
parentbc961e571421b872db57bb2c30ba1be4d584495b (diff)
downloadcpython-bdc6ea11102a00caf90a8c644898a00722e41c28.zip
cpython-bdc6ea11102a00caf90a8c644898a00722e41c28.tar.gz
cpython-bdc6ea11102a00caf90a8c644898a00722e41c28.tar.bz2
Fix silly typo in comment.
-rw-r--r--Objects/frameobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index bdff3c4..2b042cd 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -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) {