Skip to content

Commit aa357ee

Browse files
committed
docs: fix simple typo, assigining -> assigning
There is a small typo in patterns/creational/borg.py. Should read `assigning` rather than `assigining`.
1 parent 8541f98 commit aa357ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/creational/borg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
its own dictionary, but the Borg pattern modifies this so that all
1414
instances have the same dictionary.
1515
In this example, the __shared_state attribute will be the dictionary
16-
shared between all instances, and this is ensured by assigining
16+
shared between all instances, and this is ensured by assigning
1717
__shared_state to the __dict__ variable when initializing a new
1818
instance (i.e., in the __init__ method). Other attributes are usually
1919
added to the instance's attribute dictionary, but, since the attribute

0 commit comments

Comments
 (0)