diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-22 15:08:32 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-22 15:08:32 +1100 |
commit | 047af9b10bfc6b0ec412f8450c6bec10ab95254b (patch) | |
tree | ea5131c4c506a4af33c1498a35540ec24f8bb91a /tools/gen-cpydiff.py | |
parent | d03f089baa674e046da10891be338d14346f8a3a (diff) | |
download | micropython-047af9b10bfc6b0ec412f8450c6bec10ab95254b.tar.gz micropython-047af9b10bfc6b0ec412f8450c6bec10ab95254b.zip |
cc3200: Remove socket.timeout class, use OSError(ETIMEDOUT) instead.
socket.timeout is a subclass of OSError, and using the latter is more
efficient than having a dedicated class. The argument of OSError is
ETIMEDOUT so the error can be distinguished from other kinds of
OSErrors. This follows how the esp8266 port does it.
Diffstat (limited to 'tools/gen-cpydiff.py')
0 files changed, 0 insertions, 0 deletions