From 5b2a9e1598df453a2dc88208833f549d072236ab Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 29 Mar 2009 18:49:48 +0200 Subject: [PATCH] debritification --- Cython/Compiler/Optimize.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.26.2