Skip to content

ZeroXKiritsu/Singleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Singleton

Singleton Example for Python

Example of usage Singleton:

class TestClass(metaclass=Singleton):
 def __init__(self) -> None:
      pass
        
 def some_function(self):
      pass
      

example = TestClass()
example.some_function()

About

Singleton Example for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages