Skip to content

Conversation

@Elfpkck
Copy link
Contributor

@Elfpkck Elfpkck commented Jun 5, 2020

  • Fix the previous behavior of Singleton, when the same instance is
    returned for each possible subclass. Now one instance for each subclass.
  • Add an explanation about possible changes to the value of the
    __init__ argument.
  • Remove from __future__ import annotations because no longer needed.
  • Fix according to PEP-8 (80 symbols).

- Fix the previous behavior of Singleton, when the same instance is
returned for each possible subclass. Now one instance for each subclass.
- Add an explanation about possible changes to the value of the
`__init__` argument.
- Remove `from __future__ import annotations` because of Python3.7+
requirements declared in `README`.
- Fix according to PEP-8 (80 symbols).
@neochief
Copy link
Contributor

neochief commented Jun 8, 2020

Thanks a lot!

@neochief neochief closed this Jun 8, 2020
@neochief neochief reopened this Jun 8, 2020
@neochief neochief merged commit a5a2b87 into RefactoringGuru:master Jun 8, 2020
@Elfpkck Elfpkck deleted the fix/singleton_inheritance branch June 14, 2020 12:44
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