Skip to content

Commit c7271a8

Browse files
committed
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>
1 parent cbad559 commit c7271a8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

py/makemoduledefs.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#!/usr/bin/env python
2-
3-
# This pre-processor parses a single file containing a list of
4-
# MP_REGISTER_MODULE(module_name, obj_module)
5-
# These are used to generate a header with the required entries for
6-
# "mp_rom_map_elem_t mp_builtin_module_table[]" in py/objmodule.c
1+
"""
2+
This pre-processor parses a single file containing a list of
3+
MP_REGISTER_MODULE(module_name, obj_module)
4+
These are used to generate a header with the required entries for
5+
"mp_rom_map_elem_t mp_builtin_module_table[]" in py/objmodule.c
6+
"""
77

88
from __future__ import print_function
99

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy