提交 64d1ae90 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

NullType.__str__

上级 9ae05a30
...@@ -35,3 +35,6 @@ class NullType(Type): ...@@ -35,3 +35,6 @@ class NullType(Type):
def __hash__(self, other): def __hash__(self, other):
return hash(type(self)) return hash(type(self))
def __str__(self):
return 'NullType'
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论