changeset 224:b1445e602b59

created
author 127.0.0.1
date Sun, 30 Jun 2013 10:01:43 +0200
parents 2648422dfeff
children f48d3e419bcc
files ___%2Aitem__
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/___%2Aitem__	Sun Jun 30 10:01:30 2013 +0200
+++ b/___%2Aitem__	Sun Jun 30 10:01:43 2013 +0200
@@ -12,5 +12,5 @@
 def get_slice(thing, start, end, step):
     if hasattr(thing, '__getslice__'):
         return thing.__getslice__(start, end, step)
-    thing[slice(start, end, step)]
+    return thing[slice(start, end, step)]
 }}}
\ No newline at end of file