From: Stefan Behnel Date: Sun, 18 May 2008 23:05:36 +0000 (+0200) Subject: forgotten part of last commit X-Git-Tag: 0.9.8rc1~11^2~10^2~15^2~29 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ef88275db2c40e543f8df5a72857be80f62dec10;p=cython.git forgotten part of last commit --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index c2ae18b4..b786bde5 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -736,9 +736,9 @@ class StringNode(ConstNode): return self.entry.cname -class KeywordNameNode(ConstNode): - # A keyword in a Python function call: a string that behaves like - # an identifier +class IdentifierStringNode(ConstNode): + # A Python string that behaves like an identifier, e.g. for + # keyword arguments in a call, or for imported names type = PyrexTypes.py_object_type def analyse_types(self, env): @@ -1067,8 +1067,8 @@ class ImportNode(ExprNode): # Implements result = # __import__(module_name, globals(), None, name_list) # - # module_name StringNode dotted name of module - # name_list ListNode or None list of names to be imported + # module_name IdentifierStringNode dotted name of module + # name_list ListNode or None list of names to be imported subexprs = ['module_name', 'name_list']