Commit 3687e564 authored by Scott Wegner's avatar Scott Wegner Committed by tensorflow-copybara
Browse files

Add missing space in multi-line error string.

PiperOrigin-RevId: 341441687
parent 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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment