Mercurial > cpython-lru_cache-weakref
annotate Tools/scripts/idle @ 65035:87f4b32905df 2.7
Cosmetic fix to use print function.
| author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> |
|---|---|
| date | Fri, 01 Oct 2010 10:48:47 +0000 |
| parents | 981fff7363b9 |
| children |
| rev | line source |
|---|---|
|
29437
179d5452bb9d
Put the main script for the new IDLE here.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
1 #! /usr/bin/env python |
|
179d5452bb9d
Put the main script for the new IDLE here.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
2 |
|
179d5452bb9d
Put the main script for the new IDLE here.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
3 from idlelib.PyShell import main |
|
33074
981fff7363b9
[Patch #1005491 ] use __name__ == '__main__' in scripts
Andrew M. Kuchling <amk@amk.ca>
parents:
29437
diff
changeset
|
4 if __name__ == '__main__': |
|
981fff7363b9
[Patch #1005491 ] use __name__ == '__main__' in scripts
Andrew M. Kuchling <amk@amk.ca>
parents:
29437
diff
changeset
|
5 main() |
