-
-
Notifications
You must be signed in to change notification settings - Fork 703
Closed
Milestone
Description
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".
CC: @nthiery
Component: documentation
Keywords: staticmethod cython argspec
Author: Simon King
Branch/Commit: 143b567
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/16309