summaryrefslogtreecommitdiff
path: root/docs/esp8266
diff options
context:
space:
mode:
authorAndrew Leech <andrew.leech@planetinnovation.com.au>2020-06-10 10:45:24 +1000
committerDamien George <damien.p.george@gmail.com>2020-06-10 21:58:13 +1000
commit28370c04509a6255cd3d6b9424443a5b57bb7467 (patch)
tree98d1f78a1805d14b85a88e54c910e0cf46168598 /docs/esp8266
parent29e258611ace8e4de51d810d5ff14364a5fbb950 (diff)
py/objtype: Add __dict__ attribute for class objects.
The behavior mirrors the instance object dict attribute where a copy of the local attributes are provided (unless the dict is read-only, then that dict itself is returned, as an optimisation). MicroPython does not support modifying this dict because the changes will not be reflected in the class. The feature is only enabled if MICROPY_CPYTHON_COMPAT is set, the same as the instance version.
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions