We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3e463 commit dafd4e1Copy full SHA for dafd4e1
peps/pep-0750.rst
@@ -380,9 +380,8 @@ between two ``Template`` instances and between a ``Template`` instance and a
380
Template and Interpolation Equality
381
-----------------------------------
382
383
-``Template`` and ``Interpolation`` instances use the standard Python equality
384
-semantics from the ``object`` class. No attempt is made to provide an overridden
385
-implementation of ``__eq__()`` or ``__hash__()``.
+``Template`` and ``Interpolation`` instances compare with object identity
+(``is``).
386
387
``Template`` instances are intended to be used by template processing code,
388
which may return a string or any other type. Those types can provide their
0 commit comments