Mercurial > cpython-lru_cache-weakref
annotate Tools/scripts/idle @ 39042:c02fa187e0f4 legacy-trunk
Part of SF patch #1484695. This removes dead code. The chksum was
already verified in .frombuf() on the lines above. If there was
a problem an exception is raised, so there was no way this condition
could have been true.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Mon, 10 Jul 2006 00:23:17 +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() |
