When you compare an object to None , use is rather than == . ... def filter1(function, iterable=None) if iterable == None: # Comparison using '__eq__' ...
確定! 回上一頁