提交 ae4e9609 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fixes

上级 90e99a43
......@@ -1443,7 +1443,7 @@ class _tensor_py_operators:
def __sub__(self, other):
# See explanation in __add__ for the error catched
# adn the return value in that case
# and the return value in that case
try:
return sub(self, other)
except (NotImplementedError, TypeError):
......@@ -1451,7 +1451,7 @@ class _tensor_py_operators:
def __mul__(self, other):
# See explanation in __add__ for the error catched
# adn the return value in that case
# and the return value in that case
try:
return mul(self, other)
except (NotImplementedError, TypeError):
......@@ -1459,7 +1459,7 @@ class _tensor_py_operators:
def __div__(self, other):
# See explanation in __add__ for the error catched
# adn the return value in that case
# and the return value in that case
try:
return div_proxy(self, other)
except IntegerDivisionError:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论