# HG changeset patch # User paulb@jeremy # Date 1160951794 -7200 # Node ID d529606d8735ea7671ac2f74064f2a5af7a2dfc9 # Parent 2f0d946bc5bba5999b05583b2c4e67d8f1e5cdc4 Added usage of the method. diff -r 2f0d946bc5bb -r d529606d8735 tests/class.py --- a/tests/class.py Sun Oct 15 18:34:23 2006 +0200 +++ b/tests/class.py Mon Oct 16 00:36:34 2006 +0200 @@ -1,7 +1,9 @@ class A: + "A class with attribute and method." x = 123 def m(self, x): self.x = x a = A() y = A.x +a.m(321) z = a.x