diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-04-14 17:04:20 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-04-14 17:04:20 +0200 |
commit | 5066244cd7fcc41bded183c82bb0ff5f04555dac (patch) | |
tree | 5b0bfbd1dbf2006d52a929af9c5a1e03b311d482 | |
parent | c06b6e725221ab927bb1ebdd908c5f53649acdcb (diff) | |
download | pep8-5066244cd7fcc41bded183c82bb0ff5f04555dac.tar.gz |
Add total_lines to the developer documentation
-rw-r--r-- | docs/developer.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/developer.rst b/docs/developer.rst index 50fdf2c..205d593 100644 --- a/docs/developer.rst +++ b/docs/developer.rst @@ -52,8 +52,9 @@ additional information with extra arguments. All attributes of the * ``lines``: a list of the raw lines from the input file * ``tokens``: the tokens that contribute to this logical line * ``line_number``: line number in the input file +* ``total_lines``: number of lines in the input file * ``blank_lines``: blank lines before this one -* ``indent_char``: first indentation character in this file (``" "`` or ``"\t"``) +* ``indent_char``: indentation character in this file (``" "`` or ``"\t"``) * ``indent_level``: indentation (with tabs expanded to multiples of 8) * ``previous_indent_level``: indentation on previous line * ``previous_logical``: previous logical line |