summaryrefslogtreecommitdiffstats
path: root/Doc/library/tabnanny.rst
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2017-03-22 06:53:57 (GMT)
committerXiang Zhang <angwerzx@126.com>2017-03-22 06:53:57 (GMT)
commit75b6cf879fab58c0576d5415eaf38d92bfd678ab (patch)
treea61b23decbadc192561e520d596cc76b963dfee4 /Doc/library/tabnanny.rst
parentd7fa6b259e00fca04dbf816bfcf4115fdda14bb7 (diff)
downloadcpython-75b6cf879fab58c0576d5415eaf38d92bfd678ab.zip
cpython-75b6cf879fab58c0576d5415eaf38d92bfd678ab.tar.gz
cpython-75b6cf879fab58c0576d5415eaf38d92bfd678ab.tar.bz2
fix function name in tabnanny documentation (GH-759)
Diffstat (limited to 'Doc/library/tabnanny.rst')
-rw-r--r--Doc/library/tabnanny.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/tabnanny.rst b/Doc/library/tabnanny.rst
index 1edb0fb..dfe688a 100644
--- a/Doc/library/tabnanny.rst
+++ b/Doc/library/tabnanny.rst
@@ -48,14 +48,14 @@ described below.
.. exception:: NannyNag
- Raised by :func:`tokeneater` if detecting an ambiguous indent. Captured and
+ Raised by :func:`process_tokens` if detecting an ambiguous indent. Captured and
handled in :func:`check`.
-.. function:: tokeneater(type, token, start, end, line)
+.. function:: process_tokens(tokens)
- This function is used by :func:`check` as a callback parameter to the function
- :func:`tokenize.tokenize`.
+ This function is used by :func:`check` to process tokens generated by the
+ :mod:`tokenize` module.
.. XXX document errprint, format_witnesses, Whitespace, check_equal, indents,
reset_globals