We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c45915 + 1b0db9c commit 88a9e58Copy full SHA for 88a9e58
creational/borg.py
@@ -24,7 +24,7 @@
24
attributes will also be shared.
25
For this reason, when the attribute self.state is modified using
26
instance rm2, the value of self.state in instance rm1 also chages. The
27
-same happends if self.state is modified using rm3, which is an
+same happens if self.state is modified using rm3, which is an
28
instance from a subclass.
29
Notice that even though they share attributes, the instances are not
30
the same, as seen by their ids.
@@ -37,7 +37,7 @@
37
https://fkromer.github.io/python-pattern-references/design/#singleton
38
39
*TL;DR80
40
-Provides singletone-like behavior sharing state between instances.
+Provides singleton-like behavior sharing state between instances.
41
"""
42
43
0 commit comments