Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
r""" Ensure that ``functools.partial`` is correctly handled by :func:`~sage.misc.sageinspect.sage_getsourcelines`. """
""" Test function to make sure :func:`~sage.misc.sageinspect.sage_getsourcelines` can get the code of a function created by ``functools.partial``.
EXAMPLES::
sage: from sage.tests.functools_partial_src import base, test_func sage: base(3) 21 sage: test_func() 42 """
|