commit | b2594050ea83d0fc9ddaeed2e33ec2436e9ca1bc | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Dec 05 09:25:51 2004 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Dec 05 09:25:51 2004 +0000 |
tree | fa2dd706cc0a7fe9136216fb0c45c88088205df8 | |
parent | d2f70cbe8e2a0e50c2991071305450dbdaf0389a [diff] [blame] |
Added optional None arguments to itertools.islice().
diff --git a/Misc/NEWS b/Misc/NEWS index 235c257..95b9d2c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -17,6 +17,10 @@ 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 -------