micropython

tests/sealing.py

64:0ed30aeb2ef9
2008-04-06 Paul Boddie Fixed "self" optimisation suitability test. Fixed constant storage suitability detection.
     1 #!/usr/bin/env python     2      3 class C:     4     clsattr = 123     5      6     def __init__(self, value):     7         self.instattr = value     8      9 # vim: tabstop=4 expandtab shiftwidth=4