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

7 lines
144 B
Python
Raw Normal View History

2025-08-23 10:12:26 +08:00
from single import db_singleton
if __name__ == '__main__':
print(id(db_singleton))
print(id(db_singleton))
print(id(db_singleton))