适配器模式(pthon)
摘要:
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # adapter_pattern.py # 适配器模式 class Adaptee: def request(self): print('打印开始!!!') class Target: def handl 阅读全文
posted @ 2021-01-03 12:41 白衣风云 阅读(115) 评论(0) 推荐(0)
posted @ 2021-01-03 12:41 白衣风云 阅读(115) 评论(0) 推荐(0)
posted @ 2021-01-03 08:41 白衣风云 阅读(78) 评论(0) 推荐(0)