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

notebook -- parses tracebacks in the output of docstrings of help command #3024

Closed
williamstein opened this issue Apr 25, 2008 · 4 comments
Closed

Comments

@williamstein
Copy link
Contributor

The Traceback thing gets all messed up by worksheet.py or cell.py below:

sage: help(VectorSpace)

Help on function VectorSpace in module sage.modules.free_module:

VectorSpace(K, dimension, sparse=False, inner_product_matrix=None)
    EXAMPLES:
    The base can be complicated, as long as it is a field. 
        sage: V = VectorSpace(FractionField(PolynomialRing(ZZ,'x')),3)
        sage: V
        Vector space of dimension 3 over Fraction Field of Univariate
Polynomial Ring in x over Integer Ring
        sage: V.basis()
        [
        (1, 0, 0),
        (0, 1, 0),
        (0, 0, 1)
        ]
    
    The base must be a field or a \code{TypeError} is raised.
        sage: VectorSpace(ZZ,5)
Traceback (click to the left for traceback)
...
        TypeError: K must be a field

Component: notebook

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

@williamstein
Copy link
Contributor Author

comment:1

Attachment: sage-3024.patch.gz

@boothby
Copy link

boothby commented May 12, 2008

comment:2

works for me

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 17, 2008

comment:3

Merged in Sage 3.0.2.alpha1

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed May 17, 2008
@fchapoton

This comment has been minimized.

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

3 participants