`del` on a package has some kind of memory

前端 未结 0 1707
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-11 13:25

del seems to have some memory which puzzles me. See the following:

In [1]: import math

In [2]: math.cos(0)
Out[2]: 1.0

In [3]: del math.cos

In [4         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题