提交 84a3f6f1 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

pep8 null_type.py

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