summaryrefslogtreecommitdiffstatshomepage
path: root/py/makeqstrdata.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-10-19 12:40:41 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-10-19 12:44:53 +0300
commitf2baa9ec245a66c4cd7d990e39a4af3f6fab1cb7 (patch)
tree6b021b7ce51dbab0796670e469f441a6b565f9fd /py/makeqstrdata.py
parent93ce125abe41b5527eb92e483e64cc6d1a027ba0 (diff)
downloadmicropython-f2baa9ec245a66c4cd7d990e39a4af3f6fab1cb7.tar.gz
micropython-f2baa9ec245a66c4cd7d990e39a4af3f6fab1cb7.zip
py/objtype: Use CPython compatible method name for sizeof.
Per https://docs.python.org/3/library/sys.html#sys.getsizeof: getsizeof() calls the object’s __sizeof__ method. Previously, "getsizeof" was used mostly to save on new qstr, as we don't really support calling this method on arbitrary objects (so it was used only for reporting). However, normalize it all now.
Diffstat (limited to 'py/makeqstrdata.py')
0 files changed, 0 insertions, 0 deletions