提交 29d0803d authored 作者: Frederic Bastien's avatar Frederic Bastien

add a link in the doc.

上级 e7a98de4
...@@ -87,7 +87,7 @@ The base class (Op) says two objects are equal if (and only if) ...@@ -87,7 +87,7 @@ The base class (Op) says two objects are equal if (and only if)
they are the same object. they are the same object.
Writing these boilerplate definitions ensures that the logic of the equality comparison is always explicit. Writing these boilerplate definitions ensures that the logic of the equality comparison is always explicit.
It is an essential part of the OP CONTRACT (TODO LINK) that if two Ops compare It is an essential part of the :ref:`op_contract` that if two Ops compare
equal, then they must compute the same result when presented with the same equal, then they must compute the same result when presented with the same
inputs. Here, if we allocated another instance of ``Fibby`` by typing ``fibby2 inputs. Here, if we allocated another instance of ``Fibby`` by typing ``fibby2
= Fibby()`` then we would have two Ops that behave identically. = Fibby()`` then we would have two Ops that behave identically.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论