# HG changeset patch
# User Peter Bruin <peter.bruin@math.uzh.ch>
# Date 1374075305 -7200
# Node ID 57cd845bdd29f3760c3add63c56615b0d049add6
# Parent dc410370c7468150155d44b2b9f5e0339c8fd961
Trac 12142: replace __cinit__ (Cython constructor) by a comment
diff --git a/sage/rings/finite_rings/element_pari_ffelt.pyx b/sage/rings/finite_rings/element_pari_ffelt.pyx
a
|
b
|
|
144 | 144 | self._parent = parent |
145 | 145 | self.construct_from(x) |
146 | 146 | |
147 | | def __cinit__(FiniteFieldElement_pari_ffelt self): |
148 | | """ |
149 | | Cython constructor. |
150 | | """ |
151 | | self.block = NULL |
| 147 | # The Cython constructor __cinit__ is not necessary: according to |
| 148 | # the Cython documentation, C attributes are initialised to 0. |
| 149 | # def __cinit__(FiniteFieldElement_pari_ffelt self): |
| 150 | # self.block = NULL |
152 | 151 | |
153 | 152 | def __dealloc__(FiniteFieldElement_pari_ffelt self): |
154 | 153 | """ |