diff options
| author | Collin Winter <collinw@gmail.com> | 2007-07-17 20:59:35 +0000 |
|---|---|---|
| committer | Collin Winter <collinw@gmail.com> | 2007-07-17 20:59:35 +0000 |
| commit | 6f2df4d5e193d54244b0c2de91ef0ab1604b9243 (patch) | |
| tree | 5e172400da7561eb4bb8fafc62c8cab511d74dad /Demo/tkinter/guido/ManPage.py | |
| parent | a8c360ee76fb76902a2e2140fbb38d4b06b2d9fb (diff) | |
| download | cpython-git-6f2df4d5e193d54244b0c2de91ef0ab1604b9243.tar.gz | |
Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements.
Diffstat (limited to 'Demo/tkinter/guido/ManPage.py')
| -rwxr-xr-x | Demo/tkinter/guido/ManPage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/tkinter/guido/ManPage.py b/Demo/tkinter/guido/ManPage.py index b189b6428c..1266f1cee0 100755 --- a/Demo/tkinter/guido/ManPage.py +++ b/Demo/tkinter/guido/ManPage.py @@ -75,7 +75,7 @@ class EditableManPage(ScrolledText): # Initialize parsing from a particular file -- must not be busy def _startparser(self, fp): if self.busy(): - raise RuntimeError, 'startparser: still busy' + raise RuntimeError('startparser: still busy') fp.fileno() # Test for file-ness self.fp = fp self.lineno = 0 @@ -90,7 +90,7 @@ class EditableManPage(ScrolledText): # End parsing -- must be busy, need not be at EOF def _endparser(self): if not self.busy(): - raise RuntimeError, 'endparser: not busy' + raise RuntimeError('endparser: not busy') if self.buffer: self._parseline('') try: |
