python-cookbook
python-cookbook copied to clipboard
Naming a slice example
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)