Skip to content

Commit 876cd64

Browse files
author
smcq
committed
typo
1 parent 3fd8ed3 commit 876cd64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

prototype/prototype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Child(object):
9696
9797
obj = Parent()
9898
child = prototype(obj)
99-
grandchild = prototype(obj).new
99+
grandchild = prototype(child).new
100100
"""
101101
return PrototypeSwitcher(delegate, extend)
102102

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ note, prototypes extending prototypes must use .new and extend=True.
5050

5151
obj = Parent()
5252
child = prototype(obj)
53-
grandchild = prototype(obj).new
53+
grandchild = prototype(child).new
5454

5555
*(c) 2011 Sauce Labs*

0 commit comments

Comments
 (0)