summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-12-05 09:25:51 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-12-05 09:25:51 (GMT)
commitb2594050ea83d0fc9ddaeed2e33ec2436e9ca1bc (patch)
treefa2dd706cc0a7fe9136216fb0c45c88088205df8 /Misc
parentd2f70cbe8e2a0e50c2991071305450dbdaf0389a (diff)
downloadcpython-b2594050ea83d0fc9ddaeed2e33ec2436e9ca1bc.zip
cpython-b2594050ea83d0fc9ddaeed2e33ec2436e9ca1bc.tar.gz
cpython-b2594050ea83d0fc9ddaeed2e33ec2436e9ca1bc.tar.bz2
Added optional None arguments to itertools.islice().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 235c257..95b9d2c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -17,6 +17,10 @@ Core and builtins
Extension Modules
-----------------
+- itertools.islice() now accepts None for the start and step arguments.
+ This allows islice() to work more readily with slices:
+ islice(s.start, s.stop, s.step)
+
Library
-------