diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-26 12:11:32 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-26 12:11:32 +0000 |
| commit | b7b360f03d05dbf0e7a69407db982f8d8772e724 (patch) | |
| tree | 24045f0bddd87c3a528a2201ccbcf6f4adf620f0 /docutils/install.py | |
| parent | 44691d6bbdbafdec4f206564b45997ec54b57732 (diff) | |
| download | docutils-b7b360f03d05dbf0e7a69407db982f8d8772e724.tar.gz | |
py3: Switch to print functions
Remove all uses of print as a statement. This includes comments, many of
which are simply removed as noise (they're in version control and can be
re-added later, if necessary).
Signed-off-by: Stephen Finucane <stephen@that.guru>
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8346 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/install.py')
| -rwxr-xr-x | docutils/install.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docutils/install.py b/docutils/install.py index 1a71e433f..0c5541274 100755 --- a/docutils/install.py +++ b/docutils/install.py @@ -15,12 +15,13 @@ one of:: python setup.py install --help python setup.py --help """ +from __future__ import print_function from distutils import core from setup import do_setup -if __name__ == '__main__' : - print __doc__ +if __name__ == '__main__': + print(__doc__) core._setup_stop_after = 'config' dist = do_setup() dist.commands = ['install'] |
