sgzwiz / brython

Automatically exported from code.google.com/p/brython
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

reversed slice not working ( [::-1] ) #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. somestring="abcdef"
2. reversedstring = somestring[::-1]
3. print(reversedstring)

What is the expected output? What do you see instead?
fedcba, but instead I get an empty string

Please use labels and text to provide additional information.

Original issue reported on code.google.com by francois...@gmail.com on 8 Jan 2013 at 2:47

GoogleCodeExporter commented 9 years ago
Fix at revision 377

Original comment by pierre.q...@gmail.com on 9 Jan 2013 at 8:14