A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/070532.html below:

Extended slicing

Extended slicing Extended slicingzzzzz zzizz_ at notmail.com
Sat Apr 7 23:35:08 EDT 2001
Hi all,

Just looking at the Reference Manual Release 2.0 dated Oct 16, 2000 at
the section on 5.3.3 slicings. It appears to me that I should be able
to use an extended slice like follows:

x=range(20)
y=x[3:4,6:10]

However, when I try this on Python '2.0 (#8, Oct 19 2000, 11:30:05)
[MSC 32 bit (Intel)]' I get a traceback error "TypeError: sequence
index must be integer".

Is this feature implemented yet?
Have I misread the definition of slicing?

How do I know it's not implemented?

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4