Browse Source
A 'return' statement on module/class level is not correct Python, but nothing terribly bad happens when it's allowed. So remove the check unless MICROPY_CPYTHON_COMPAT is on. This is similar to MicroPython's treatment of 'import *' in functions (except 'return' has unsurprising behavior if it's allowed).pull/5170/merge
Petr Viktorin
5 years ago
committed by
Damien George
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue