commit | eaef61511656071194565878dc80c46096d46415 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Aug 02 07:42:57 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Aug 02 07:42:57 2003 +0000 |
tree | b3e761f4c79ace0c0baeeb3ed845afd14ca666bb | |
parent | 9463792c686c312dcf85c649b7183eae25403945 [diff] [blame] |
As discussed on python-dev, changed builtin.zip() to handle zero arguments by returning an empty list instead of raising a TypeError.
diff --git a/Misc/NEWS b/Misc/NEWS index caf49b0..435dd64 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,9 @@ Core and builtins ----------------- +- zip() with no arguments now returns an empty list instead of raising + a TypeError exception. + Extension modules -----------------