tuoheng_algN/test/设计模式/单例/test.py

7 lines
144 B
Python
Raw Normal View History

2025-01-21 09:26:34 +08:00
from single import db_singleton
if __name__ == '__main__':
print(id(db_singleton))
print(id(db_singleton))
print(id(db_singleton))