diff options
author | Phil Howard <phil@gadgetoid.com> | 2022-06-14 11:17:03 +0100 |
---|---|---|
committer | Phil Howard <phil@gadgetoid.com> | 2022-06-14 15:05:37 +0100 |
commit | 37d5114cec93258b719fcb7e8ec125dfe8b676e9 (patch) | |
tree | eba92dbfe51a721e709e52108093408a122ba86d /docs/esp8266/tutorial/network_tcp.rst | |
parent | cedb93c179f92f8d122453205950ba97a58a307b (diff) | |
download | micropython-37d5114cec93258b719fcb7e8ec125dfe8b676e9.tar.gz micropython-37d5114cec93258b719fcb7e8ec125dfe8b676e9.zip |
py/makemoduledefs.py: Emit useful error for legacy MP_REGISTER_MODULE.
Catch calls to legacy:
MP_REGISTER_MODULE(name, module, enable)
Emit a friendly error suggesting they be rewritten to:
MP_REGISTER_MODULE(name, module).
Signed-off-by: Phil Howard <phil@pimoroni.com>
Diffstat (limited to 'docs/esp8266/tutorial/network_tcp.rst')
0 files changed, 0 insertions, 0 deletions