Commit ef88275d authored by Stefan Behnel's avatar Stefan Behnel

forgotten part of last commit

parent 63eabf72
...@@ -736,9 +736,9 @@ class StringNode(ConstNode): ...@@ -736,9 +736,9 @@ class StringNode(ConstNode):
return self.entry.cname return self.entry.cname
class KeywordNameNode(ConstNode): class IdentifierStringNode(ConstNode):
# A keyword in a Python function call: a string that behaves like # A Python string that behaves like an identifier, e.g. for
# an identifier # keyword arguments in a call, or for imported names
type = PyrexTypes.py_object_type type = PyrexTypes.py_object_type
def analyse_types(self, env): def analyse_types(self, env):
...@@ -1067,7 +1067,7 @@ class ImportNode(ExprNode): ...@@ -1067,7 +1067,7 @@ class ImportNode(ExprNode):
# Implements result = # Implements result =
# __import__(module_name, globals(), None, name_list) # __import__(module_name, globals(), None, name_list)
# #
# module_name StringNode dotted name of module # module_name IdentifierStringNode dotted name of module
# name_list ListNode or None list of names to be imported # name_list ListNode or None list of names to be imported
subexprs = ['module_name', 'name_list'] subexprs = ['module_name', 'name_list']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment