diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-31 20:26:44 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-31 20:40:31 +0300 |
commit | b509f73982309e713513830f1c17efef7d912592 (patch) | |
tree | 38e04f7bd82775b60fb02b939b7a71ba83d09af2 /py/vstr.c | |
parent | a8dda295c4452dab4c36ad873a4a1a992498399c (diff) | |
download | micropython-b509f73982309e713513830f1c17efef7d912592.tar.gz micropython-b509f73982309e713513830f1c17efef7d912592.zip |
objtype: Wrap .__name__ handling in MICROPY_CPYTHON_COMPAT.
Because it's runtime reflection feature, not required for many apps.
Rant time:
Python could really use better str() vs repr() distinction, for example,
repr(type) could be "<class 'foo'>" (as it is now), and str(type) just
"foo". But alas, getting straight name requires adhoc attribute.
Diffstat (limited to 'py/vstr.c')
0 files changed, 0 insertions, 0 deletions