python-cookbook icon indicating copy to clipboard operation
python-cookbook copied to clipboard

Naming a slice example

Open ahmadia opened this issue 12 years ago • 0 comments

The demo of the indices method is called on a different object a than the previously instanciated one. This could be fixed ny instanciating a with the following line:

a = slice(5, 50, 2)

ahmadia avatar Jul 06 '13 16:07 ahmadia