Skip to content

Commit 606eb6b

Browse files
committed
Make formatting more similar to not method
1 parent 5728117 commit 606eb6b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Doc/library/operator.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ Operations which work with sequences (some of them with mappings too) include:
220220
__concat__(a, b)
221221

222222
Return ``a + b`` for *a* and *b* sequences.
223-
Note: this calls ``__add__`` - there is no ``__concat__`` dunder method.
223+
(Note that there is no :meth:`!__concat__`.
224+
Instead, the :meth:`~object.__add__` method is called.)
224225

225226

226227
.. function:: contains(a, b)
@@ -520,7 +521,8 @@ will perform the update, so no subsequent assignment is necessary:
520521
__iconcat__(a, b)
521522

522523
``a = iconcat(a, b)`` is equivalent to ``a += b`` for *a* and *b* sequences.
523-
Note: this calls ``__iadd__`` - there is no ``__iconcat__`` dunder method.
524+
(Note that there is no :meth:`!__iconcat__`.
525+
Instead, the :meth:`~object.__iadd__` method is called.)
524526

525527

526528
.. function:: ifloordiv(a, b)

0 commit comments

Comments
 (0)