Commit ba81fb79 authored by gsamain's avatar gsamain

Remove dead code preventing cdef on nogil classes (thus forcing ccdef)

parent f5117fc2
......@@ -2251,8 +2251,6 @@ def p_statement(s, ctx, first_statement = 0):
overridable = 0
nogil_flag = ctx.nogil
if s.sy == 'cdef':
#if ctx.level == 'c_class_nogil':
# s.error('cdef statement not allowed in nogil extension type')
cdef_flag = 1
s.next()
elif s.sy == 'ccdef':
......
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