Skip to content

Commit 88a9e58

Browse files
authored
Merge pull request faif#237 from uvpasapp/patch-1
typo fix
2 parents 1c45915 + 1b0db9c commit 88a9e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

creational/borg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
attributes will also be shared.
2525
For this reason, when the attribute self.state is modified using
2626
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
27+
same happens if self.state is modified using rm3, which is an
2828
instance from a subclass.
2929
Notice that even though they share attributes, the instances are not
3030
the same, as seen by their ids.
@@ -37,7 +37,7 @@
3737
https://fkromer.github.io/python-pattern-references/design/#singleton
3838
3939
*TL;DR80
40-
Provides singletone-like behavior sharing state between instances.
40+
Provides singleton-like behavior sharing state between instances.
4141
"""
4242

4343

0 commit comments

Comments
 (0)