mirror of
https://github.com/python/cpython
synced 2024-11-05 18:12:54 +00: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
7 lines
97 B
Python
7 lines
97 B
Python
initialized = True
|
|
|
|
def main():
|
|
print("Hello world!")
|
|
|
|
if __name__ == '__main__':
|
|
main()
|