From: Stefan Behnel Date: Sun, 29 Mar 2009 16:49:48 +0000 (+0200) Subject: debritification X-Git-Tag: 0.12.alpha0~345 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b2a9e1598df453a2dc88208833f549d072236ab;p=cython.git debritification --- diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index 47d8ea5b..7f4972a5 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -416,8 +416,8 @@ class FlattenInListTransform(Visitor.VisitorTransform, SkipDeclarations): visit_Node = Visitor.VisitorTransform.recurse_to_children -class OptimiseBuiltinCalls(Visitor.VisitorTransform): - """Optimise some common methods calls and instantiation patterns +class OptimizeBuiltinCalls(Visitor.VisitorTransform): + """Optimize some common methods calls and instantiation patterns for builtin types. """ # only intercept on call nodes @@ -511,7 +511,7 @@ class OptimiseBuiltinCalls(Visitor.VisitorTransform): if not isinstance(kwargs, ExprNodes.DictNode): return node if node.starstar_arg: - # we could optimise this by updating the kw dict instead + # we could optimize this by updating the kw dict instead return node return kwargs