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
90df06e5
Commit
90df06e5
authored
May 13, 2006
by
George Yoshida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add \exception markup
parent
2b161d90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/lib/libthread.tex
Doc/lib/libthread.tex
+2
-2
Doc/lib/libtokenize.tex
Doc/lib/libtokenize.tex
+1
-1
No files found.
Doc/lib/libthread.tex
View file @
90df06e5
...
...
@@ -44,8 +44,8 @@ then the thread exits (but other threads continue to run).
\end{funcdesc}
\begin{funcdesc}
{
interrupt
_
main
}{}
Raise a
KeyboardInterrupt in the main thread. A subthread can use this
function to interrupt the main thread.
Raise a
\exception
{
KeyboardInterrupt
}
exception in the main thread. A subthread
can use this
function to interrupt the main thread.
\versionadded
{
2.3
}
\end{funcdesc}
...
...
Doc/lib/libtokenize.tex
View file @
90df06e5
...
...
@@ -47,7 +47,7 @@ An older entry point is retained for backward compatibility:
call to the function should return one line of input as a string.
Alternately,
\var
{
readline
}
may be a callable object that signals
completion by raising
\exception
{
StopIteration
}
.
\versionchanged
[Added
StopIteration
support]
{
2.5
}
\versionchanged
[Added
\exception{StopIteration}
support]
{
2.5
}
The second parameter,
\var
{
tokeneater
}
, must also be a callable
object. It is called once for each token, with five arguments,
...
...
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