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

Skip to content

Commit c3e4549

Browse files
committed
Added \label{} for logical addressing.
1 parent 83efb54 commit c3e4549

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

Doc/lib/libtypes.tex

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ \section{Built-in Types}
1414
implicitly used when an object is written by the \code{print} statement.
1515
\stindex{print}
1616

17+
1718
\subsection{Truth Value Testing}
19+
\label{truth}
1820

1921
Any object can be tested for truth value, for use in an \code{if} or
2022
\code{while} condition or as operand of the Boolean operations below.
@@ -53,7 +55,9 @@ \subsection{Truth Value Testing}
5355
\samp{or}\opindex{or} and \samp{and}\opindex{and} always return one of
5456
their operands.)
5557

58+
5659
\subsection{Boolean Operations}
60+
\label{boolean}
5761

5862
These are the Boolean operations, ordered by ascending priority:
5963
\indexii{Boolean}{operations}
@@ -84,7 +88,9 @@ \subsection{Boolean Operations}
8488

8589
\end{description}
8690

91+
8792
\subsection{Comparisons}
93+
\label{comparisons}
8894

8995
Comparison operations are supported by all objects. They all have the
9096
same priority (which is higher than that of the Boolean operations).
@@ -143,7 +149,9 @@ \subsection{Comparisons}
143149
\opindex{in}
144150
\opindex{not in}
145151

152+
146153
\subsection{Numeric Types}
154+
\label{typesnumeric}
147155

148156
There are four numeric types: \dfn{plain integers}, \dfn{long integers},
149157
\dfn{floating point numbers}, and \dfn{complex numbers}.
@@ -297,7 +305,9 @@ \subsubsection{Bit-string Operations on Integer Types}
297305
division by \code{pow(2, \var{n})} without overflow check.
298306
\end{description}
299307

308+
300309
\subsection{Sequence Types}
310+
\label{typesseq}
301311

302312
There are three sequence types: strings, lists and tuples.
303313

@@ -501,7 +511,9 @@ \subsubsection{Mutable Sequence Types}
501511

502512
\end{description}
503513

514+
504515
\subsection{Mapping Types}
516+
\label{typesmapping}
505517

506518
A \dfn{mapping} object maps values of one type (the key type) to
507519
arbitrary objects. Mappings are mutable objects. There is currently
@@ -561,7 +573,9 @@ \subsection{Mapping Types}
561573
and \var{k} is not in the map, \code{None} is returned.
562574
\end{description}
563575

576+
564577
\subsection{Other Built-in Types}
578+
\label{typesother}
565579

566580
The interpreter supports several other kinds of objects.
567581
Most of these support only one or two operations.
@@ -816,7 +830,9 @@ \subsubsection{Internal Objects}
816830
describes code objects, stack frame objects, traceback objects, and
817831
slice objects.
818832

833+
819834
\subsection{Special Attributes}
835+
\label{specialattrs}
820836

821837
The implementation adds a few special read-only attributes to several
822838
object types, where they are relevant:

Doc/libtypes.tex

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ \section{Built-in Types}
1414
implicitly used when an object is written by the \code{print} statement.
1515
\stindex{print}
1616

17+
1718
\subsection{Truth Value Testing}
19+
\label{truth}
1820

1921
Any object can be tested for truth value, for use in an \code{if} or
2022
\code{while} condition or as operand of the Boolean operations below.
@@ -53,7 +55,9 @@ \subsection{Truth Value Testing}
5355
\samp{or}\opindex{or} and \samp{and}\opindex{and} always return one of
5456
their operands.)
5557

58+
5659
\subsection{Boolean Operations}
60+
\label{boolean}
5761

5862
These are the Boolean operations, ordered by ascending priority:
5963
\indexii{Boolean}{operations}
@@ -84,7 +88,9 @@ \subsection{Boolean Operations}
8488

8589
\end{description}
8690

91+
8792
\subsection{Comparisons}
93+
\label{comparisons}
8894

8995
Comparison operations are supported by all objects. They all have the
9096
same priority (which is higher than that of the Boolean operations).
@@ -143,7 +149,9 @@ \subsection{Comparisons}
143149
\opindex{in}
144150
\opindex{not in}
145151

152+
146153
\subsection{Numeric Types}
154+
\label{typesnumeric}
147155

148156
There are four numeric types: \dfn{plain integers}, \dfn{long integers},
149157
\dfn{floating point numbers}, and \dfn{complex numbers}.
@@ -297,7 +305,9 @@ \subsubsection{Bit-string Operations on Integer Types}
297305
division by \code{pow(2, \var{n})} without overflow check.
298306
\end{description}
299307

308+
300309
\subsection{Sequence Types}
310+
\label{typesseq}
301311

302312
There are three sequence types: strings, lists and tuples.
303313

@@ -501,7 +511,9 @@ \subsubsection{Mutable Sequence Types}
501511

502512
\end{description}
503513

514+
504515
\subsection{Mapping Types}
516+
\label{typesmapping}
505517

506518
A \dfn{mapping} object maps values of one type (the key type) to
507519
arbitrary objects. Mappings are mutable objects. There is currently
@@ -561,7 +573,9 @@ \subsection{Mapping Types}
561573
and \var{k} is not in the map, \code{None} is returned.
562574
\end{description}
563575

576+
564577
\subsection{Other Built-in Types}
578+
\label{typesother}
565579

566580
The interpreter supports several other kinds of objects.
567581
Most of these support only one or two operations.
@@ -816,7 +830,9 @@ \subsubsection{Internal Objects}
816830
describes code objects, stack frame objects, traceback objects, and
817831
slice objects.
818832

833+
819834
\subsection{Special Attributes}
835+
\label{specialattrs}
820836

821837
The implementation adds a few special read-only attributes to several
822838
object types, where they are relevant:

0 commit comments

Comments
 (0)