⚝
One Hat Cyber Team
⚝
Your IP:
160.79.111.56
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.6
/
site-packages
/
tuned
/
__pycache__
/
View File Name :
patterns.cpython-36.opt-1.pyc
3 �<�eO � @ s G d d� de �ZdS )c @ s( e Zd ZdZdZdd� Zedd� �ZdS )� Singletonz Singleton design pattern. Nc C s | j tkrtd��d S )NzCannot instantiate directly.)� __class__r � TypeError)�self� r �/usr/lib/python3.6/patterns.py�__init__ s zSingleton.__init__c C s | j dkr| � | _ | j S )zGet the class instance.N)� _instance)�clsr r r �get_instance s zSingleton.get_instance)�__name__� __module__�__qualname__�__doc__r r �classmethodr r r r r r s r N)�objectr r r r r �<module> s