Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No help for is_SymbolicVariable ? #6890

Closed
kcrisman opened this issue Sep 4, 2009 · 1 comment
Closed

No help for is_SymbolicVariable ? #6890

kcrisman opened this issue Sep 4, 2009 · 1 comment

Comments

@kcrisman
Copy link
Member

kcrisman commented Sep 4, 2009

Help for is_SymbolicVariable and is_SymbolicExpressionRing is nonexistent, for Python reasons, apparently:

sage: is_SymbolicExpressionRing??
Error getting source: could not find class definition
Type: partial
...
partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.

Notice that these functions do have useful docstrings, they just aren't showing up. This was originally reported in #2562.

Component: documentation

Keywords: partial, help

Issue created by migration from https://trac.sagemath.org/ticket/6890

@kcrisman kcrisman added this to the sage-5.11 milestone Sep 4, 2009
@mwhansen
Copy link
Contributor

comment:1

This works fine now after an explicit import:

sage: is_SymbolicExpressionRing??
Type:       builtin_function_or_method
String Form:<built-in function is_SymbolicExpressionRing>
Definition: is_SymbolicExpressionRing(R)
Source:
def is_SymbolicExpressionRing(R):
    """
    Returns True if *R* is the symbolic expression ring.

    EXAMPLES::

        sage: from sage.symbolic.ring import is_SymbolicExpressionRing
        sage: is_SymbolicExpressionRing(ZZ)
        False
        sage: is_SymbolicExpressionRing(SR)
        True
    """
    return R is SR

@mwhansen mwhansen removed this from the sage-5.11 milestone Jul 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants