Commits

Georg Brandl committed 22d673b

consistency nits

Comments (0)

Files changed (4)

     :license: BSD, see LICENSE for details.
 """
 from __future__ import print_function
+
 import os
 import sys
 import optparse

sphinx/pycode/pgen2/pgen.py

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

sphinx/pycode/pgen2/tokenize.py

     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
 

tests/coverage.py

   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.