Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #16309: Determine argspec of static methods with defaults in Cyt…
…hon files Fix this: {{{ sage: cython(""" ....: class Bla: ....: @staticmethod ....: def join(categories, bint as_list = False, tuple ignore_axioms=(), tuple axioms=()): ....: pass ....: """) sage: from sage.misc.sageinspect import sage_getargspec sage: sage_getargspec(Bla.join) File "<string>", line unknown SyntaxError: Unexpected EOF while parsing argument list }}} This does not happen if `join` is a bound or unbound (not static) method. Since this will affect building the docs (see #16296), I'd say the component is "documentation". URL: http://trac.sagemath.org/16309 Reported by: SimonKing Ticket author(s): Simon King Reviewer(s): Travis Scrimshaw
- Loading branch information
Showing
1 changed file
with
87 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters