From b40890db07cad4416135f4571ac89a46b6425562 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Wed, 17 Sep 2008 11:50:36 +0000 Subject: usage --- Doc/library/collections.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 3b49a74..a66b555 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -380,7 +380,7 @@ in Unix:: .. method:: defaultdict.__missing__(key) - If the :attr:`default_factory` attribute is ``None``, this raises an + If the :attr:`default_factory` attribute is ``None``, this raises a :exc:`KeyError` exception with the *key* as argument. If :attr:`default_factory` is not ``None``, it is called without arguments -- cgit v0.12