首页 > 编程语言 > 详细

python

时间:2015-09-09 06:13:39      阅读:173      评论:0      收藏:0      [点我收藏+]

python
    class decorator
        http://openhome.cc/Gossip/Python/ClassDecorator.html    入门,容易理解
        http://www.ibm.com/developerworks/cn/linux/l-cpdecor.html
        http://ot-note.logdown.com/posts/67571/-decorator-with-without-arguments-in-function-class-form
    CPyUG
    super
        https://rhettinger.wordpress.com/2011/05/26/super-considered-super/
    MRO  Method Resolution Order
    *args, **kwargs
    描述器(Descriptor)        
        def __getattr__(self, item)
        def __call__(self, *args)
        def __get__(self, instance, owner):
        def __set__(self, instance, value):
        def __delete__(self, instance):
        __dict__
        __getattr__
    __slots__
    PEP 484 - Type Hints
    context manager,
    @property
    使用 Adapter 包装已有代码让 import 更简洁
    reddit
    Future, ThreadPoolExecutor https://www.laike9m.com/media/files/html/PyCon2014-concurrent.futures.html#/12
    
    network https://laike9m.com/blog/pythonshi-xian-stunturnp2pliao-tian,29/
        https://github.com/laike9m/PyPunchP2P

python

原文:http://www.cnblogs.com/cutepig/p/4793456.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!