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

Skip to content

Commit 68c172e

Browse files
committed
Change \verb\xxx\ in section titles back to {\tt xxx}.
1 parent 0f1f9da commit 68c172e

2 files changed

Lines changed: 28 additions & 28 deletions

File tree

Doc/ref.tex

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ \section{Assignments}
13611361
during the code generation phase, causing less detailed error
13621362
messages.)
13631363

1364-
\section{The \verb\pass\ statement}
1364+
\section{The {\tt pass} statement}
13651365

13661366
\begin{verbatim}
13671367
pass_stmt: "pass"
@@ -1377,7 +1377,7 @@ \section{The \verb\pass\ statement}
13771377
class C: pass # an empty class
13781378
\end{verbatim}
13791379

1380-
\section{The \verb\del\ statement}
1380+
\section{The {\tt del} statement}
13811381

13821382
\begin{verbatim}
13831383
del_stmt: "del" target_list
@@ -1399,7 +1399,7 @@ \section{The \verb\del\ statement}
13991399
is in general equivalent to assignment of an empty slice of the
14001400
right type (but even this is determined by the sliced object).
14011401

1402-
\section{The \verb\print\ statement}
1402+
\section{The {\tt print} statement}
14031403

14041404
\begin{verbatim}
14051405
print_stmt: "print" [ condition ("," condition)* [","] ]
@@ -1428,7 +1428,7 @@ \section{The \verb\print\ statement}
14281428
(The original implementation attempts to write to the system's original
14291429
standard output instead, but this is not safe, and should be fixed.)
14301430

1431-
\section{The \verb\return\ statement}
1431+
\section{The {\tt return} statement}
14321432

14331433
\begin{verbatim}
14341434
return_stmt: "return" [condition_list]
@@ -1447,7 +1447,7 @@ \section{The \verb\return\ statement}
14471447
with a \verb\finally\ clause, that finally clause is executed
14481448
before really leaving the function.
14491449

1450-
\section{The \verb\raise\ statement}
1450+
\section{The {\tt raise} statement}
14511451

14521452
\begin{verbatim}
14531453
raise_stmt: "raise" condition ["," condition]
@@ -1460,7 +1460,7 @@ \section{The \verb\raise\ statement}
14601460
It then raises the exception identified by the first object,
14611461
with the second one (or \verb\None\) as its parameter.
14621462

1463-
\section{The \verb\break\ statement}
1463+
\section{The {\tt break} statement}
14641464

14651465
\begin{verbatim}
14661466
break_stmt: "break"
@@ -1479,7 +1479,7 @@ \section{The \verb\break\ statement}
14791479
with a \verb\finally\ clause, that finally clause is executed
14801480
before really leaving the loop.
14811481

1482-
\section{The \verb\continue\ statement}
1482+
\section{The {\tt continue} statement}
14831483

14841484
\begin{verbatim}
14851485
continue_stmt: "continue"
@@ -1493,7 +1493,7 @@ \section{The \verb\continue\ statement}
14931493

14941494
It continues with the next cycle of the nearest enclosing loop.
14951495

1496-
\section{The \verb\import\ statement}
1496+
\section{The {\tt import} statement}
14971497

14981498
\begin{verbatim}
14991499
import_stmt: "import" identifier ("," identifier)*
@@ -1520,10 +1520,10 @@ \section{The \verb\import\ statement}
15201520

15211521
If a built-in module is found, its built-in initialization code is
15221522
executed and step (1) is finished. If no matching file is found,
1523-
\ImportError\ is raised (and step (2) is never started). If a file is
1523+
\verb\ImportError\ is raised (and step (2) is never started). If a file is
15241524
found, it is parsed. If a syntax error occurs, HIRO
15251525

1526-
\section{The \verb\global\ statement}
1526+
\section{The {\tt global} statement}
15271527

15281528
\begin{verbatim}
15291529
global_stmt: "global" identifier ("," identifier)*
@@ -1541,28 +1541,28 @@ \chapter{Compound statements}
15411541
suite: statement | NEWLINE INDENT statement+ DEDENT
15421542
\end{verbatim}
15431543

1544-
\section{The \verb\if\ statement}
1544+
\section{The {\tt if} statement}
15451545

15461546
\begin{verbatim}
15471547
if_stmt: "if" condition ":" suite
15481548
("elif" condition ":" suite)*
15491549
["else" ":" suite]
15501550
\end{verbatim}
15511551

1552-
\section{The \verb\while\ statement}
1552+
\section{The {\tt while} statement}
15531553

15541554
\begin{verbatim}
15551555
while_stmt: "while" condition ":" suite ["else" ":" suite]
15561556
\end{verbatim}
15571557

1558-
\section{The \verb\for\ statement}
1558+
\section{The {\tt for} statement}
15591559

15601560
\begin{verbatim}
15611561
for_stmt: "for" target_list "in" condition_list ":" suite
15621562
["else" ":" suite]
15631563
\end{verbatim}
15641564

1565-
\section{The \verb\try\ statement}
1565+
\section{The {\tt try} statement}
15661566

15671567
\begin{verbatim}
15681568
try_stmt: "try" ":" suite

Doc/ref/ref.tex

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ \section{Assignments}
13611361
during the code generation phase, causing less detailed error
13621362
messages.)
13631363

1364-
\section{The \verb\pass\ statement}
1364+
\section{The {\tt pass} statement}
13651365

13661366
\begin{verbatim}
13671367
pass_stmt: "pass"
@@ -1377,7 +1377,7 @@ \section{The \verb\pass\ statement}
13771377
class C: pass # an empty class
13781378
\end{verbatim}
13791379

1380-
\section{The \verb\del\ statement}
1380+
\section{The {\tt del} statement}
13811381

13821382
\begin{verbatim}
13831383
del_stmt: "del" target_list
@@ -1399,7 +1399,7 @@ \section{The \verb\del\ statement}
13991399
is in general equivalent to assignment of an empty slice of the
14001400
right type (but even this is determined by the sliced object).
14011401

1402-
\section{The \verb\print\ statement}
1402+
\section{The {\tt print} statement}
14031403

14041404
\begin{verbatim}
14051405
print_stmt: "print" [ condition ("," condition)* [","] ]
@@ -1428,7 +1428,7 @@ \section{The \verb\print\ statement}
14281428
(The original implementation attempts to write to the system's original
14291429
standard output instead, but this is not safe, and should be fixed.)
14301430

1431-
\section{The \verb\return\ statement}
1431+
\section{The {\tt return} statement}
14321432

14331433
\begin{verbatim}
14341434
return_stmt: "return" [condition_list]
@@ -1447,7 +1447,7 @@ \section{The \verb\return\ statement}
14471447
with a \verb\finally\ clause, that finally clause is executed
14481448
before really leaving the function.
14491449

1450-
\section{The \verb\raise\ statement}
1450+
\section{The {\tt raise} statement}
14511451

14521452
\begin{verbatim}
14531453
raise_stmt: "raise" condition ["," condition]
@@ -1460,7 +1460,7 @@ \section{The \verb\raise\ statement}
14601460
It then raises the exception identified by the first object,
14611461
with the second one (or \verb\None\) as its parameter.
14621462

1463-
\section{The \verb\break\ statement}
1463+
\section{The {\tt break} statement}
14641464

14651465
\begin{verbatim}
14661466
break_stmt: "break"
@@ -1479,7 +1479,7 @@ \section{The \verb\break\ statement}
14791479
with a \verb\finally\ clause, that finally clause is executed
14801480
before really leaving the loop.
14811481

1482-
\section{The \verb\continue\ statement}
1482+
\section{The {\tt continue} statement}
14831483

14841484
\begin{verbatim}
14851485
continue_stmt: "continue"
@@ -1493,7 +1493,7 @@ \section{The \verb\continue\ statement}
14931493

14941494
It continues with the next cycle of the nearest enclosing loop.
14951495

1496-
\section{The \verb\import\ statement}
1496+
\section{The {\tt import} statement}
14971497

14981498
\begin{verbatim}
14991499
import_stmt: "import" identifier ("," identifier)*
@@ -1520,10 +1520,10 @@ \section{The \verb\import\ statement}
15201520

15211521
If a built-in module is found, its built-in initialization code is
15221522
executed and step (1) is finished. If no matching file is found,
1523-
\ImportError\ is raised (and step (2) is never started). If a file is
1523+
\verb\ImportError\ is raised (and step (2) is never started). If a file is
15241524
found, it is parsed. If a syntax error occurs, HIRO
15251525

1526-
\section{The \verb\global\ statement}
1526+
\section{The {\tt global} statement}
15271527

15281528
\begin{verbatim}
15291529
global_stmt: "global" identifier ("," identifier)*
@@ -1541,28 +1541,28 @@ \chapter{Compound statements}
15411541
suite: statement | NEWLINE INDENT statement+ DEDENT
15421542
\end{verbatim}
15431543

1544-
\section{The \verb\if\ statement}
1544+
\section{The {\tt if} statement}
15451545

15461546
\begin{verbatim}
15471547
if_stmt: "if" condition ":" suite
15481548
("elif" condition ":" suite)*
15491549
["else" ":" suite]
15501550
\end{verbatim}
15511551

1552-
\section{The \verb\while\ statement}
1552+
\section{The {\tt while} statement}
15531553

15541554
\begin{verbatim}
15551555
while_stmt: "while" condition ":" suite ["else" ":" suite]
15561556
\end{verbatim}
15571557

1558-
\section{The \verb\for\ statement}
1558+
\section{The {\tt for} statement}
15591559

15601560
\begin{verbatim}
15611561
for_stmt: "for" target_list "in" condition_list ":" suite
15621562
["else" ":" suite]
15631563
\end{verbatim}
15641564

1565-
\section{The \verb\try\ statement}
1565+
\section{The {\tt try} statement}
15661566

15671567
\begin{verbatim}
15681568
try_stmt: "try" ":" suite

0 commit comments

Comments
 (0)