Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge #32407
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 26, 2021
2 parents 0643756 + 06e8c31 commit 327ca5f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/sage/symbolic/pynac_function_impl.pxi
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cpdef call_registered_function(unsigned serial,
int nargs,
list args,
bint hold,
bint allow_numeric_result,
result_parent):
int nargs,
list args,
bint hold,
bint allow_numeric_result,
result_parent):
r"""
Call a function registered with Pynac (GiNaC).
Expand All @@ -13,7 +13,8 @@ cpdef call_registered_function(unsigned serial,
- ``nargs`` - declared number of args (0 is variadic)
- ``args`` - a list of :class:`Expression` (Expression's)
- ``args`` - a list of arguments to pass to the function;
each must be an :class:`Expression`
- ``hold`` - whether to leave the call unevaluated
Expand Down Expand Up @@ -99,7 +100,6 @@ cpdef unsigned register_or_update_function(self, name, latex_name, int nargs,
EXAMPLES::
sage: from sage.symbolic.function import BuiltinFunction
sage: from sage.symbolic.expression import register_or_update_function, call_registered_function
sage: class Archosaurian(BuiltinFunction):
....: def __init__(self):
....: BuiltinFunction.__init__(self, 'archsaur', nargs=1)
Expand Down

0 comments on commit 327ca5f

Please sign in to comment.