diff --git a/iterators.html b/iterators.html index 81b762d..8ae17c1 100755 --- a/iterators.html +++ b/iterators.html @@ -267,22 +267,28 @@ rules = LazyRules() >>> import plural6 >>> r1 = plural6.LazyRules() >>> r2 = plural6.LazyRules() ->>> r1.rules_filename ① +>>> r1.rules_filename ① 'plural6-rules.txt' >>> r2.rules_filename 'plural6-rules.txt' ->>> r1.__class__.rules_filename ② +>>> r2.rules_filename = 'r2-override.txt' ② +>>> r2.rules_filename +'r2-override.txt' +>>> r1.rules_filename 'plural6-rules.txt' ->>> r1.__class__.rules_filename = 'papayawhip.txt' ③ +>>> r2.__class__.rules_filename ③ +'plural6-rules.txt' +>>> r2.__class__.rules_filename = 'papayawhip.txt' ④ >>> r1.rules_filename 'papayawhip.txt' ->>> r2.rules_filename ④ -'papayawhip.txt' +>>> r2.rules_filename ⑤ +'r2-overridetxt'
__class__ attribute to access the class itself.
+And now back to our show.