Skip to content

Conversation

@NoBitLeft
Copy link

The country.py was imported many different helpers, so I used the singleton pattern to make the class only have one single instance, which makes the country only have one country object. This ensures that a class has at most one instance and provides a global access to that instance.

@Kilo59 Kilo59 closed this Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants