1

我把这段代码放在models.py我的 django 应用程序中:

import shelve
s = shelve.open('mystorage')

一切正常,但是当解释器关闭时,我得到以下输出:

Exception TypeError: "'NoneType' object is not callable" in  ignored
4

0 回答 0