Terrapins Sky
Home
Tutorials
Diary
Works
Sunday, January 7, 2018
[python][resolve] argument of type 'NoneType' is not iterable
error code:
if not (val
in
None):
This is a mistype case, it should be using is to check a value is a NoneType.
if not (val
is
None):
Reference:
http://f.dataguru.cn/thread-736401-1-1.html
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment