1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/docs/compatibility.txt Sun Mar 09 02:10:12 2008 +0100
1.3 @@ -0,0 +1,27 @@
1.4 +This document describes various compatibility differences between micropython
1.5 +and other Python implementations.
1.6 +
1.7 +Class Attribute Assignment
1.8 +--------------------------
1.9 +
1.10 + Python micropython
1.11 + ------ -----------
1.12 +
1.13 +class C:
1.14 + ...
1.15 +
1.16 +# cls refers to C
1.17 +
1.18 +cls.attr = value Class attribute Run-time error
1.19 + assigned
1.20 +
1.21 +Module Attribute Assignment
1.22 +---------------------------
1.23 +
1.24 + Python micropython
1.25 + ------ -----------
1.26 +
1.27 +import somemod
1.28 +
1.29 +somemod.attr = value Module attribute Run-time error
1.30 + assigned