Working on Ticket 13649. Can't find a _cache_an_element() declaration.

36 views
Skip to first unread message

Sagnik Dey

unread,
Feb 26, 2020, 5:09:11 AM2/26/20
to sage-devel
I want to understand the code related to returning the domain. I want to get to the definition of _cache_an_element() function. However, I have been unable to find this even using silver searcher on the entire repository. I'm sorry if this is a very stupid question. Can someone please explain to me where this function is defined as it is present in almost all the classes.

Frédéric Chapoton

unread,
Feb 26, 2020, 7:26:44 AM2/26/20
to sage-devel
> git grep -c "cache_an_element" src/sage
src/sage/rings/number_field/number_field.py:1
src/sage/structure/parent.pxd:1
src/sage/structure/parent.pyx:4
src/sage/structure/parent_old.pyx:4
Reply all
Reply to author
Forward
0 new messages