> While updating the difference page in the Jython documentation, I came > across this: > > - JPython sequences support three argument slices. i.e. > range(3)[::-1] == [2,1,0]. > CPython should be fixed. > > Is this actually true? Should (and will cpython) change in this respect? Good question. I haven't pronounced on Michael's patch http://sourceforge.net/patch/?func=detailpatch&patch_id=100998&group_id=5470 because I don't know whether this is really a good idea. I don't know that I ever *will* pronounce uness someone points out how useful it is for some practical application. --Guido van Rossum (home page: http://www.python.org/~guido/)
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