Skip to content

Commit 903e084

Browse files
authored
Fix typo in ZODB docs, improper Counter example
Closes #1281.
1 parent 0de90b8 commit 903e084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zdgbook/ZODBPersistentComponents.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ Here is an example of a '_p_resolveConflict' in the 'Counter' class::
448448

449449
class Counter(Persistent):
450450

451-
self.count = 0
451+
count = 0
452452

453453
def hit(self):
454454
self.count = self.count + 1

0 commit comments

Comments
 (0)