diff options
author | Xiang Zhang <angwerzx@126.com> | 2017-03-22 07:26:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-22 07:26:53 (GMT) |
commit | 72c51136c6269112f4c37ef14f972c89b92c272c (patch) | |
tree | 10732348f719778037c356d67ed62572ab57fe6c /Doc/library | |
parent | af839fe2fef12dbbc8083fc7f01daee48a85a916 (diff) | |
download | cpython-72c51136c6269112f4c37ef14f972c89b92c272c.zip cpython-72c51136c6269112f4c37ef14f972c89b92c272c.tar.gz cpython-72c51136c6269112f4c37ef14f972c89b92c272c.tar.bz2 |
fix function name in tabnanny documentation (GH-762)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/tabnanny.rst | 8 |
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 |