commit | 2ad17e19eec7f873005a215a00c13520c679d4fb | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Oct 30 08:17:46 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Oct 30 08:17:46 2010 +0000 |
tree | 5afb2827106033f8bdb24c518775c6c20b0242d5 | |
parent | cbba8d4c7a5b77ef60c088b5070b919b32a1b861 [diff] [blame] |
Issue 10221: Improve error message for dict.pop().
diff --git a/Misc/NEWS b/Misc/NEWS index eeff4a7..dc5dca4 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -10,6 +10,9 @@ Core and Builtins ----------------- +- Issue #10221: dict.pop(k) now has a key error message that includes the + missing key (same message d[k] returns for missing keys). + - Issue #10125: Don't segfault when the iterator passed to ``file.writelines()`` closes the file.