Memory management for Gens on the PARI stack or the heap¶
- class cypari2.stack.DetachGen¶
Genbut keep the
GENwhich is inside it.
The typical usage is as follows:
DetachGenobject from a :class`Gen`.
Removes all other references to that
detachmethod to retrieve the
GEN(or a copy of it if the original was not on the stack).