[Python-checkins] cpython: remain symbol.main to symbol._main mirroring token.py

benjamin.peterson python-checkins at python.org
Tue Feb 5 16:14:20 CET 2013


http://hg.python.org/cpython/rev/704a38a1d048
changeset:   82018:704a38a1d048
user:        Benjamin Peterson <benjamin at python.org>
date:        Tue Feb 05 10:13:22 2013 -0500
summary:
  remain symbol.main to symbol._main mirroring token.py

files:
  Lib/symbol.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/symbol.py b/Lib/symbol.py
--- a/Lib/symbol.py
+++ b/Lib/symbol.py
@@ -100,7 +100,7 @@
         sym_name[_value] = _name
 
 
-def main():
+def _main():
     import sys
     import token
     if len(sys.argv) == 1:
@@ -108,4 +108,4 @@
     token._main()
 
 if __name__ == "__main__":
-    main()
+    _main()

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list