00ea919699
with post.pop('custom', '{}'), if the key 'custom' is not there, it will return '{}', but if the key is there, but the value is equivalent to False, the json decode will fail. |
||
---|---|---|
.. | ||
__init__.py | ||
main.py |