From e5820c6b5dcaa284835f86c95f4455082b842b63 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 22 Mar 2011 09:11:39 -0700 Subject: Issue #11625: Fix Typo --- Doc/library/collections.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 260de6c..b52868e 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -1,3 +1,4 @@ + :mod:`collections` --- Container datatypes ========================================== @@ -993,7 +994,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin: That assumption is factored-out to an internal classmethod called :meth:`_from_iterable` which calls ``cls(iterable)`` to produce a new set. If the :class:`Set` mixin is being used in a class with a different - constructor signature, you will need to override :meth:`from_iterable` + constructor signature, you will need to override :meth:`_from_iterable` with a classmethod that can construct new instances from an iterable argument. -- cgit v0.12