Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bab183

Browse files
committed
Markup nits.
1 parent e5a5551 commit 6bab183

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/tut/tut.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ \section{Invoking the Interpreter \label{invoking}}
208208

209209
Note that there is a difference between \samp{python file} and
210210
\samp{python <file}. In the latter case, input requests from the
211-
program, such as calls to \code{input()} and \code{raw_input()}, are
211+
program, such as calls to \function{input()} and \function{raw_input()}, are
212212
satisfied from \emph{file}. Since this file has already been read
213213
until the end by the parser before the program starts executing, the
214214
program will encounter end-of-file immediately. In the former case
@@ -271,8 +271,8 @@ \subsection{Error Handling \label{error}}
271271
message and a stack trace. In interactive mode, it then returns to
272272
the primary prompt; when input came from a file, it exits with a
273273
nonzero exit status after printing
274-
the stack trace. (Exceptions handled by an \code{except} clause in a
275-
\code{try} statement are not errors in this context.) Some errors are
274+
the stack trace. (Exceptions handled by an \keyword{except} clause in a
275+
\keyword{try} statement are not errors in this context.) Some errors are
276276
unconditionally fatal and cause an exit with a nonzero exit; this
277277
applies to internal inconsistencies and some cases of running out of
278278
memory. All error messages are written to the standard error stream;
@@ -285,8 +285,8 @@ \subsection{Error Handling \label{error}}
285285
A problem with the GNU Readline package may prevent this.
286286
}
287287
Typing an interrupt while a command is executing raises the
288-
\code{KeyboardInterrupt} exception, which may be handled by a
289-
\code{try} statement.
288+
\exception{KeyboardInterrupt} exception, which may be handled by a
289+
\keyword{try} statement.
290290

291291
\subsection{Executable Python Scripts \label{scripts}}
292292

0 commit comments

Comments
 (0)