diff options
author | Damien George <damien.p.george@gmail.com> | 2016-05-12 14:27:52 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-05-12 14:27:52 +0100 |
commit | 9a9249964155f333131bbd728ffc755e80dc68a2 (patch) | |
tree | cbcc538bdbdaf357a10931ba3d4a35d58b699c37 /py/objobject.c | |
parent | a314b842bb5e0c2c43d4194320f48fa875fc176d (diff) | |
download | micropython-9a9249964155f333131bbd728ffc755e80dc68a2.tar.gz micropython-9a9249964155f333131bbd728ffc755e80dc68a2.zip |
py/objexcept: Don't convert errno to str in constructor, do it in print.
OSError's are now printed like:
OSError: [Errno 1] EPERM
but only if the string corresponding to the errno is found.
Diffstat (limited to 'py/objobject.c')
0 files changed, 0 insertions, 0 deletions