Skip to content

Commit e02e213

Browse files
author
Matthias Koeppe
committed
src/sage/structure/element.pyx: Restore import of lazy_attribute in cython example
1 parent eaffa99 commit e02e213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/structure/element.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2331,7 +2331,7 @@ cdef class ElementWithCachedMethod(Element):
23312331
....: cdef class MyParent(Parent):
23322332
....: Element = MyElement
23332333
....: from sage.misc.cachefunc import cached_method
2334-
....: from sage.misc.cachefunc import cached_in_parent_method
2334+
....: from sage.misc.lazy_attribute import lazy_attribute
23352335
....: from sage.categories.category import Category
23362336
....: from sage.categories.objects import Objects
23372337
....: class MyCategory(Category):

0 commit comments

Comments
 (0)