mirror of
https://github.com/python/cpython.git
synced 2024-12-12 03:04:15 +08:00
3814e2036d
Here's one more small cleanup that should have been in PR gh-28319. We eliminate stdout side-effects from importing the frozen __hello__ module, and update tests accordingly. We also move the module's source file into Lib/ from Toos/freeze/flag.py. https://bugs.python.org/issue45019
8 lines
97 B
Python
8 lines
97 B
Python
initialized = True
|
|
|
|
def main():
|
|
print("Hello world!")
|
|
|
|
if __name__ == '__main__':
|
|
main()
|