提交 f35f1033 authored 作者: notoraptor's avatar notoraptor

Remove useless print.

上级 7b448dce
......@@ -162,7 +162,6 @@ class Wrapper(Type):
if re.match('^[A-Za-z_][A-Za-z0-9_]*$', attribute_name) is None:
raise AttributeError('Wrapper: attribute "%s" should be a valid identifier.' % attribute_name)
if attribute_name in c_cpp_keywords:
print(len(c_cpp_keywords))
raise SyntaxError('Wrapper: "%s" is a potential C/C++ keyword and should not be used as attribute name.'
% attribute_name)
type_instance = kwargs[attribute_name]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论