diff options
| author | Georg Brandl <georg@python.org> | 2014-01-22 18:15:42 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2014-01-22 18:15:42 +0100 |
| commit | ee0cd61c8659a33c5d6e1f91af60ec5ffdb44769 (patch) | |
| tree | 25ea140b702b89b4b922863b4f3f03d5c268082d /sphinx/pycode | |
| parent | 6f75873b602864ebfd4512c79785d567e253860f (diff) | |
| download | sphinx-ee0cd61c8659a33c5d6e1f91af60ec5ffdb44769.tar.gz | |
consistency nits
Diffstat (limited to 'sphinx/pycode')
| -rw-r--r-- | sphinx/pycode/pgen2/pgen.py | 4 | ||||
| -rw-r--r-- | sphinx/pycode/pgen2/tokenize.py | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sphinx/pycode/pgen2/pgen.py b/sphinx/pycode/pgen2/pgen.py index f572ad58..ab990cef 100644 --- a/sphinx/pycode/pgen2/pgen.py +++ b/sphinx/pycode/pgen2/pgen.py @@ -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): diff --git a/sphinx/pycode/pgen2/tokenize.py b/sphinx/pycode/pgen2/tokenize.py index 93fd6578..4e94fa5c 100644 --- a/sphinx/pycode/pgen2/tokenize.py +++ b/sphinx/pycode/pgen2/tokenize.py @@ -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 |
