mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #11625: Fix Typo
This commit is contained in:
commit
608aba301e
1 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
:mod:`collections` --- Container datatypes
|
||||
==========================================
|
||||
|
||||
|
|
@ -1050,7 +1051,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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue