Prefer the "Borg" pattern over the GoF singleton pattern.
The only visible difference is the lack of object identity between
instances.
Signed-off-by: NChris Lamb <lamby@debian.org>
Showing
daklib/singleton.py
已删除
100644 → 0
想要评论请 注册 或 登录