[Tutor] What exactly is [::-1]?

John Fouhy john at fouhy.net
Thu Jul 26 08:37:10 CEST 2007


On 26/07/07, Luke Paireepinart <rabidpoobear at gmail.com> wrote:
> Wow, it was actually quite a bit harder to Google than I thought :)
> well, some experimentation leads me to believe this is the syntax for
> list slicing:
[...]

It's in the docs, albeit rather tersely:
http://www.python.org/doc/current/lib/typesseq.html

-- 
John.


More information about the Tutor mailing list