diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst index e8e71068dd99eb..0070a5466ca6ca 100644 --- a/Doc/library/operator.rst +++ b/Doc/library/operator.rst @@ -220,6 +220,8 @@ Operations which work with sequences (some of them with mappings too) include: __concat__(a, b) Return ``a + b`` for *a* and *b* sequences. + (Note that there is no :meth:`!__concat__` method. + Instead, the :meth:`~object.__add__` method is called.) .. function:: contains(a, b) @@ -519,6 +521,8 @@ will perform the update, so no subsequent assignment is necessary: __iconcat__(a, b) ``a = iconcat(a, b)`` is equivalent to ``a += b`` for *a* and *b* sequences. + (Note that there is no :meth:`!__iconcat__` method. + Instead, the :meth:`~object.__iadd__` method is called.) .. function:: ifloordiv(a, b)