From: Robert Bradshaw Date: Wed, 13 Feb 2008 10:58:13 +0000 (-0800) Subject: Undo botched api -> pxd X-Git-Tag: 0.9.6.14~29^2~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be3c7caf73a41a26c6314608a30c7a84be866a01;p=cython.git Undo botched api -> pxd --- diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index fd64b1ec..8635642c 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -1875,8 +1875,6 @@ def p_c_modifiers(s): def p_c_func_or_var_declaration(s, level, pos, visibility = 'private', api = 0, overridable = False): cmethod_flag = level in ('c_class', 'c_class_pxd') - if level in ('c_class_pxd', 'module_pxd'): - api = 1 # default for pxd modifiers = p_c_modifiers(s) base_type = p_c_base_type(s) declarator = p_c_declarator(s, cmethod_flag = cmethod_flag, assignable = 1, nonempty = 1)