micropython

tests/class_multiple_same_name.py

628:be6dee878948
2013-01-13 Paul Boddie Added some support for classes defined using the same name in the same namespace.
     1 #!/usr/bin/env python     2      3 class A:     4     x = 1     5      6 class B(A):     7     y = 2     8      9 class B(A):    10     z = 3    11     12 result_1 = A.x    13 result_3 = B.z    14     15 # vim: tabstop=4 expandtab shiftwidth=4