mirror of
https://github.com/apache/nuttx.git
synced 2026-08-25 15:37:23 +00:00
Python warns about return statements inside finally blocks because they can suppress pending exceptions. Move the returns after the try/finally and try/except bodies so normal return values stay the same while unexpected exceptions are no longer swallowed. Signed-off-by: Old-Ding <ai.neo.ae86@gmail.com> |
||
|---|---|---|
| .. | ||
| protocols | ||
| __init__.py | ||
| circbuf.py | ||
| debug.py | ||
| diagnose.py | ||
| dmesg.py | ||
| fs.py | ||
| gcore.py | ||
| irq.py | ||
| lists.py | ||
| macros.py | ||
| memcheck.py | ||
| memdump.py | ||
| memleak.py | ||
| mm.py | ||
| net.py | ||
| prefix.py | ||
| profile.py | ||
| rpmsg.py | ||
| stack.py | ||
| thread.py | ||
| uorb.py | ||
| utils.py | ||
| wdog.py | ||
| wqueue.py | ||