This function leaks in via sage.interfaces.all
.
Since it is being used in doctest, we import it properly through sage.repl.all
.
CC: @egourgoulhon
Component: user interface
Author: Matthias Koeppe
Branch/Commit: d6cf9f6
Reviewer: Kwankyu Lee
Issue created by migration from https://trac.sagemath.org/ticket/33016