上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: Python版 https://github.com/faif/python-patterns/blob/master/behavioral/state.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ Implementation of th 阅读全文
posted @ 2018-05-14 13:31 炼狱腾蛇 阅读(141) 评论(0) 推荐(0)
摘要: Python版 https://github.com/faif/python-patterns/blob/master/behavioral/specification.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ @author: Gor 阅读全文
posted @ 2018-05-14 13:28 炼狱腾蛇 阅读(151) 评论(0) 推荐(0)
摘要: Python版 https://github.com/faif/python-patterns/blob/master/behavioral/registry.py #!/usr/bin/env python # -*- coding: utf-8 -*- class RegistryHolder( 阅读全文
posted @ 2018-05-14 13:26 炼狱腾蛇 阅读(142) 评论(0) 推荐(0)
摘要: Python版 https://github.com/faif/python-patterns/blob/master/behavioral/publish_subscribe.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ Referenc 阅读全文
posted @ 2018-05-14 13:24 炼狱腾蛇 阅读(126) 评论(0) 推荐(0)
摘要: Python转载版 https://github.com/faif/python-patterns/blob/master/behavioral/observer.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ http://code.act 阅读全文
posted @ 2018-05-14 13:23 炼狱腾蛇 阅读(152) 评论(0) 推荐(0)
摘要: Python版 https://github.com/faif/python-patterns/blob/master/behavioral/memento.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ http://code.active 阅读全文
posted @ 2018-05-14 13:20 炼狱腾蛇 阅读(149) 评论(0) 推荐(0)
摘要: Python版 https://github.com/faif/python-patterns/blob/master/behavioral/mediator.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ http://web.archiv 阅读全文
posted @ 2018-05-14 13:19 炼狱腾蛇 阅读(151) 评论(0) 推荐(0)
摘要: Python版 https://github.com/faif/python-patterns/blob/master/behavioral/iterator.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ http://ginstrom.c 阅读全文
posted @ 2018-05-14 13:16 炼狱腾蛇 阅读(117) 评论(0) 推荐(0)
摘要: Python版 https://github.com/faif/python-patterns/blob/master/behavioral/command.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ *TL;DR80 Encapsula 阅读全文
posted @ 2018-05-14 13:13 炼狱腾蛇 阅读(115) 评论(0) 推荐(0)
摘要: Python版 https://github.com/faif/python-patterns/blob/master/behavioral/chaining_method.py #!/usr/bin/env python # -*- coding: utf-8 -*- from __future_ 阅读全文
posted @ 2018-05-14 13:11 炼狱腾蛇 阅读(118) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 15 下一页