diff options
author | Damien George <damien@micropython.org> | 2022-06-08 14:47:21 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-06-08 15:00:59 +1000 |
commit | c7271a86caf0418c180164f8d87cf57cf8ac416b (patch) | |
tree | 4d5cc7d103c16167494afa597180958495cf220e | |
parent | cbad5593668fa011a22d0816e27b6f8992ac7015 (diff) |
py/makemoduledefs.py: Remove shebang line and adjust style of comment.
This file is not executable so shouldn't have the shebang line. This line
can cause issues when building on Windows msvc when the PyPython variable
is set to something other than "python", because it reverts back to using
the shebang line.
The top comment is also changed to """ style which matches all other
preprocessing scripts in the py/ directory.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r-- | py/makemoduledefs.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/py/makemoduledefs.py b/py/makemoduledefs.py index 657809db4..5a19e687a 100644 --- a/py/makemoduledefs.py +++ b/py/makemoduledefs.py @@ -1,9 +1,9 @@ -#!/usr/bin/env python - -# This pre-processor parses a single file containing a list of -# MP_REGISTER_MODULE(module_name, obj_module) -# These are used to generate a header with the required entries for -# "mp_rom_map_elem_t mp_builtin_module_table[]" in py/objmodule.c +""" +This pre-processor parses a single file containing a list of +MP_REGISTER_MODULE(module_name, obj_module) +These are used to generate a header with the required entries for +"mp_rom_map_elem_t mp_builtin_module_table[]" in py/objmodule.c +""" from __future__ import print_function |