From 0a3b736e8db43c72e07c2e32e486473e0752c659 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 4 Oct 2009 14:12:04 +0200 Subject: [PATCH] comment --- Cython/Compiler/Optimize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index 2d21584b..71fd53f3 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -38,6 +38,7 @@ class IterationTransform(Visitor.VisitorTransform): """Transform some common for-in loop patterns into efficient C loops: - for-in-dict loop becomes a while loop calling PyDict_Next() + - for-in-enumerate is replaced by an external counter variable - for-in-range loop becomes a plain C for loop """ PyDict_Next_func_type = PyrexTypes.CFuncType( -- 2.26.2