Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Delta Between Two Patch Sets: Doc/reference/datamodel.rst

Issue 25958: Implicit ABCs have no means of "anti-registration"
Left Patch Set: Created 3 years, 6 months ago
Right Patch Set: Created 3 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Doc/library/collections.abc.rst ('k') | Lib/_collections_abc.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 1
2 .. _datamodel: 2 .. _datamodel:
3 3
4 ********** 4 **********
5 Data model 5 Data model
6 ********** 6 **********
7 7
8 8
9 .. _objects: 9 .. _objects:
10 10
(...skipping 2531 matching lines...) Expand 10 before | Expand all | Expand 10 after
2542 2542
2543 .. [#] "Does not support" here means that the class has no such method, or 2543 .. [#] "Does not support" here means that the class has no such method, or
2544 the method returns ``NotImplemented``. Do not set the method to 2544 the method returns ``NotImplemented``. Do not set the method to
2545 ``None`` if you want to force fallback to the right operand's reflected 2545 ``None`` if you want to force fallback to the right operand's reflected
2546 method--that will instead have the opposite effect of explicitly 2546 method--that will instead have the opposite effect of explicitly
2547 *blocking* such fallback. 2547 *blocking* such fallback.
2548 2548
2549 .. [#] For operands of the same type, it is assumed that if the non-reflected me thod 2549 .. [#] For operands of the same type, it is assumed that if the non-reflected me thod
2550 (such as :meth:`__add__`) fails the operation is not supported, which is why the 2550 (such as :meth:`__add__`) fails the operation is not supported, which is why the
2551 reflected method is not called. 2551 reflected method is not called.
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+