Anonymous user
Singleton: Difference between revisions
→{{header|Python}}: Add link to discussion of the Borg pattern.
m (→{{header|C}}) |
(→{{header|Python}}: Add link to discussion of the Borg pattern.) |
||
Line 468:
=={{header|Python}}==
In Python we use the [http://code.activestate.com/recipes/66531/ Borg pattern] to share state between instances rather than concentrate on identity.
Every instance of the Borg class will share the same state:
|