摘要: dis模块 Python 反汇编是通过 dis 这个模块来查看的,一般有两种方式可以用来查看 方式一: 在命令行中使用 dis 查看 >>> def test(): ... class X: ... data = 100 ... def get(self): return self.data ... 阅读全文
posted @ 2019-07-08 17:04 大步向前blue 阅读(2113) 评论(1) 推荐(0)
摘要: map — 迭代 我们查看map函数的源码: class map(object) | map(func, *iterables) --> map object | | Make an iterator that computes the function using arguments from | 阅读全文
posted @ 2019-07-08 14:28 大步向前blue 阅读(249) 评论(0) 推荐(0)