Python内置函数

1.next

http://www.cnblogs.com/sesshoumaru/p/6037922.html

 

2.getattr

getattr(x, 'y') is equivalent to x.y

posted @ 2017-05-10 16:59  Shiyu_Huang  阅读(126)  评论(0编辑  收藏  举报