Skip to content

Commit c3de821

Browse files
committed
Fix compilation
1 parent 0352787 commit c3de821

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/sage/misc/lazy_import.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cdef class LazyImport:
2-
cdef readonly object _object
2+
cdef readonly object _object # The actual object if imported, None otherwise
33
cdef object _module
44
cdef object _name
55
cdef object _as_name

src/sage/misc/lazy_import.pyx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,6 @@ cdef class LazyImport():
183183
...
184184
TypeError: no conversion of this rational to integer
185185
"""
186-
cdef readonly _object # The actual object if imported, None otherwise
187-
cdef _module
188-
cdef _name
189-
cdef _as_name
190-
cdef _namespace
191-
cdef bint _at_startup
192-
cdef _deprecation
193-
cdef _feature
194-
195186
def __init__(self, module, name, as_name=None, at_startup=False, namespace=None,
196187
deprecation=None, feature=None):
197188
"""

0 commit comments

Comments
 (0)