#11857: Add an appropriate line break after showing the source code of an object
------------------------------+---------------------------------------------
Reporter: burcin | Owner: was
Type: defect | Status: new
Priority: minor | Milestone: sage-5.0
Component: user interface | Keywords: line break, source
introspection
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------------+---------------------------------------------
Changes (by SimonKing):
* keywords: => line break, source introspection
Old description:
> The following only displays documentation for power series ring.
>
> {{{
> sage: PS = ZZ[['x']]
> sage: PS??
> }}}
New description:
The following only displays documentation for power series ring.
{{{
sage: PS = ZZ[['x']]
sage: PS??
Type: PowerSeriesRing_domain
Base Class: <class
'sage.rings.power_series_ring.PowerSeriesRing_domain'>
String Form: Power Series Ring in x over Integer Ring
Namespace: Interactive
File: /mnt/local/king/SAGE/broken/local/lib/python2.6/site-
packages/sage/rings/power_series_ring.py
Definition: PS(self, f, prec=+Infinity, check=True)
Source:
class PowerSeriesRing_domain(PowerSeriesRing_generic,
integral_domain.IntegralDomain):
passConstructor Docstring:
Initializes a power series ring.
INPUT:
...
}}}
Hence, the source code
{{{
class PowerSeriesRing_domain(PowerSeriesRing_generic,
integral_domain.IntegralDomain):
pass
}}}
is shown, but it is not followed by a line break. That's ugly and
difficult to read
--
Comment:
Since nobody objected, I am changing the topic of this ticket.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11857#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.