You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no longer a NoneType reference in the types modules. You should just check for identity with None directly, i.e. obj is None. An alternative way, if you really need the NoneType, would be to get it using:
NoneType=type(None)
This is actually the exact same way types.NoneType was previously defined, before it was removed on November 28th, 2007.
The text was updated successfully, but these errors were encountered:
https://github.com/roman-right/AnnaDB/blob/17e85f13532f864911586d9cf1b1e734d762de4b/drivers/python/annadb/dump.py#L1
I am not much of a python developer, but I think this StackOverflow answer might also help:
https://stackoverflow.com/a/15844751/1707323
The text was updated successfully, but these errors were encountered: