From ef88275db2c40e543f8df5a72857be80f62dec10 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 19 May 2008 01:05:36 +0200 Subject: [PATCH] forgotten part of last commit --- Cython/Compiler/ExprNodes.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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'] -- 2.26.2