Mercurial > cpython-lru_cache-weakref
annotate Tools/scripts/pydocgui.pyw @ 79675:c0a2294de787 2.7
Issue #16199: Backport 2to3 typo fix from 3.2.
| author | Chris Jerdonek <chris.jerdonek@gmail.com> |
|---|---|
| date | Thu, 11 Oct 2012 16:15:46 -0700 |
| parents | 981fff7363b9 |
| children |
| rev | line source |
|---|---|
|
19001
28f0ea8d6278
Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw
Tim Peters <tim.peters@gmail.com>
parents:
diff
changeset
|
1 # Note: this file must not be named pydoc.pyw, lest it just end up |
|
28f0ea8d6278
Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw
Tim Peters <tim.peters@gmail.com>
parents:
diff
changeset
|
2 # importing itself (Python began allowing import of .pyw files |
|
28f0ea8d6278
Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw
Tim Peters <tim.peters@gmail.com>
parents:
diff
changeset
|
3 # between 2.2a1 and 2.2a2). |
|
28f0ea8d6278
Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw
Tim Peters <tim.peters@gmail.com>
parents:
diff
changeset
|
4 import pydoc |
|
33074
981fff7363b9
[Patch #1005491 ] use __name__ == '__main__' in scripts
Andrew M. Kuchling <amk@amk.ca>
parents:
19001
diff
changeset
|
5 |
|
981fff7363b9
[Patch #1005491 ] use __name__ == '__main__' in scripts
Andrew M. Kuchling <amk@amk.ca>
parents:
19001
diff
changeset
|
6 if __name__ == '__main__': |
|
981fff7363b9
[Patch #1005491 ] use __name__ == '__main__' in scripts
Andrew M. Kuchling <amk@amk.ca>
parents:
19001
diff
changeset
|
7 pydoc.gui() |
