First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 14 years ago

ccanonc gravatar image

Why are Notebook docs different from CLI docs? What is Namespace "Interactive"?

The sage terminal returns the following, but the notebook interface omits the "Base Class", "String Form", "Namespace", and "Length":


sage: NaN?
Type: Expression
Base Class: type 'sage.symbolic.expression.Expression'
String Form: NaN
Namespace: Interactive
Length: 0
File: /SAGE_DIR/local/lib/python2.6/site-packages/sage/categories/commutative_rings.py
Definition: NaN(self, *args, **kwds)
Docstring:
        x.__init__(...) initializes x; see x.__class__.__doc__ for signature


click to hide/show revision 2
retagged

updated 13 years ago

Kelvin Li gravatar image

Why are Notebook docs different from CLI docs? What is Namespace "Interactive"?

The sage terminal returns the following, but the notebook interface omits the "Base Class", "String Form", "Namespace", and "Length":


sage: NaN?
Type: Expression
Base Class: type 'sage.symbolic.expression.Expression'
String Form: NaN
Namespace: Interactive
Length: 0
File: /SAGE_DIR/local/lib/python2.6/site-packages/sage/categories/commutative_rings.py
Definition: NaN(self, *args, **kwds)
Docstring:
        x.__init__(...) initializes x; see x.__class__.__doc__ for signature


click to hide/show revision 3
retagged

updated 13 years ago

Kelvin Li gravatar image

Why are Notebook docs different from CLI docs? What is Namespace "Interactive"?

The sage terminal returns the following, but the notebook interface omits the "Base Class", "String Form", "Namespace", and "Length":


sage: NaN?
Type: Expression
Base Class: type 'sage.symbolic.expression.Expression'
String Form: NaN
Namespace: Interactive
Length: 0
File: /SAGE_DIR/local/lib/python2.6/site-packages/sage/categories/commutative_rings.py
Definition: NaN(self, *args, **kwds)
Docstring:
        x.__init__(...) initializes x; see x.__class__.__doc__ for signature