From: Stefan Behnel Date: Wed, 11 Jun 2008 19:36:26 +0000 (+0200) Subject: applied pending fix by Greg X-Git-Tag: 0.9.8rc1~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=069b800a5b930edd28fbf15729eca218a1552a57;p=cython.git applied pending fix by Greg --- diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index c6506ae0..092d2536 100644 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -814,8 +814,6 @@ class CFuncType(CType): if (not entity_code and cc) or entity_code.startswith("*"): entity_code = "(%s%s)" % (cc, entity_code) cc = "" - if not entity_code: - entity_code = "()" return self.return_type.declaration_code( "%s%s(%s)%s" % (cc, entity_code, arg_decl_code, trailer), for_display, dll_linkage, pyrex)