#10593: Replace __getslice__ with functionality in __getitem__ in
ContinuedFraction
------------------------------+---------------------------------------------
Reporter: aapitzsch | Owner: was
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: number theory | Keywords:
Author: André Apitzsch | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
{{{__getslice__}}} is deprecated.
The attached patch also fixes
{{{
sage: a = continued_fraction(pi)
sage: type(a[2:5])
<class 'sage.rings.contfrac.ContinuedFraction'>
sage: type(a[2:5:1])
<type 'list'>
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10593>
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.