consistency nits

This commit is contained in:
Georg Brandl 2014-01-22 18:15:42 +01:00
parent 1eb23c62ce
commit b1a9f7548b
4 changed files with 8 additions and 3 deletions

View File

@ -15,6 +15,7 @@
:license: BSD, see LICENSE for details.
"""
from __future__ import print_function
import os
import sys
import optparse

View File

@ -1,8 +1,10 @@
# Copyright 2004-2005 Elemental Security, Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
# Pgen imports
from __future__ import print_function
# Pgen imports
from sphinx.pycode.pgen2 import grammar, token, tokenize
class PgenGrammar(grammar.Grammar):

View File

@ -23,7 +23,8 @@ Older entry points
tokenize(readline, tokeneater=printtoken)
are the same, except instead of generating tokens, tokeneater is a callback
function to which the 5 fields described above are passed as 5 arguments,
each time a new token is found."""
each time a new token is found.
"""
from __future__ import print_function

View File

@ -52,7 +52,8 @@ coverage.py -a [-d dir] [-o dir1,dir2,...] FILE1 FILE2 ...
e.g. python coverage.py -i -r -o c:\python23,lib\enthought\traits
Coverage data is saved in the file .coverage by default. Set the
COVERAGE_FILE environment variable to save it somewhere else."""
COVERAGE_FILE environment variable to save it somewhere else.
"""
from __future__ import print_function
__version__ = "2.85.20080914" # see detailed history at the end of this file.