mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
remain symbol.main to symbol._main mirroring token.py
This commit is contained in:
parent
0c2e193179
commit
2fdedff213
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ for _name, _value in list(globals().items()):
|
||||||
sym_name[_value] = _name
|
sym_name[_value] = _name
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def _main():
|
||||||
import sys
|
import sys
|
||||||
import token
|
import token
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
|
@ -108,4 +108,4 @@ def main():
|
||||||
token._main()
|
token._main()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
_main()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue