Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
75b6cf87
Commit
75b6cf87
authored
Mar 21, 2017
by
Jelle Zijlstra
Committed by
Xiang Zhang
Mar 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix function name in tabnanny documentation (GH-759)
parent
d7fa6b25
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Doc/library/tabnanny.rst
Doc/library/tabnanny.rst
+4
-4
Lib/tabnanny.py
Lib/tabnanny.py
+1
-1
No files found.
Doc/library/tabnanny.rst
View file @
75b6cf87
...
@@ -48,14 +48,14 @@ described below.
...
@@ -48,14 +48,14 @@ described below.
.. exception:: NannyNag
.. 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`.
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
This function is used by :func:`check`
to process tokens generated by the
:
func:`tokenize.tokenize`
.
:
mod:`tokenize` module
.
.. XXX document errprint, format_witnesses, Whitespace, check_equal, indents,
.. XXX document errprint, format_witnesses, Whitespace, check_equal, indents,
reset_globals
reset_globals
...
...
Lib/tabnanny.py
View file @
75b6cf87
...
@@ -59,7 +59,7 @@ def main():
...
@@ -59,7 +59,7 @@ def main():
class
NannyNag
(
Exception
):
class
NannyNag
(
Exception
):
"""
"""
Raised by
tokeneater
() if detecting an ambiguous indent.
Raised by
process_tokens
() if detecting an ambiguous indent.
Captured and handled in check().
Captured and handled in check().
"""
"""
def
__init__
(
self
,
lineno
,
msg
,
line
):
def
__init__
(
self
,
lineno
,
msg
,
line
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment