Commit 102accb
committed
iodevices.LWP3Device: return bytes written
This changes the return value of the LWP3Device.write() method to return
the number of bytes written. This makes it compatible with other Python
write() functions and reserves returning None for a possible future
non-blocking write.1 parent 1641df5 commit 102accb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
0 commit comments