#4980: add info about slices to developer guide
---------------------------+------------------------------------------------
Reporter: jason | Owner: tba
Type: defect | Status: new
Priority: major | Milestone: sage-3.3
Component: documentation | Keywords:
---------------------------+------------------------------------------------
Somewhere we should note the standard way to deal with getting the indices
from a slice object is
{{{
range(*s.indices(size))
}}}
where s is our slice and size is the size of the object we are applying
the slice to. See #4974 for lots of other information and discussion of
various ways to do this, converging on the above simply standard python.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4980>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---