提交 3687e564 编辑于 作者: Scott Wegner's avatar Scott Wegner 提交者: tensorflow-copybara
浏览文件

Add missing space in multi-line error string.

PiperOrigin-RevId: 341441687
上级 9fdcf008
......@@ -186,7 +186,7 @@ class ValueImpl(value_base.Value, metaclass=abc.ABCMeta):
type_signature = _unfederated(self.type_signature)
if not type_signature.is_struct():
raise TypeError(
'Operator len() is only supported for (possibly federated) structure'
'Operator len() is only supported for (possibly federated) structure '
'types, but the object on which it has been invoked is of type {}.'
.format(self.type_signature))
return len(type_signature)
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册